BUGFIX: fixed typo with get_by_id being called rather then get()

This commit is contained in:
Will Rossiter 2009-09-02 04:26:00 +00:00
parent ca6f4b296c
commit 8fd9de7d1d
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class UserFormsMigrationTask extends MigrationTask {
*/
function run($request) {
// load the forms
$forms = DataObject::get_by_id("UserDefinedForm");
$forms = DataObject::get("UserDefinedForm");
if(!$forms) return;
echo "Proceeding to update ". $forms->Count() . " Forms to ensure proper structure<br />";