BUG Fix incorrect extension variable

Fixes silverstripe/silverstripe-blog#233
This commit is contained in:
Damian Mooyman 2015-05-14 10:50:33 +12:00
parent 25a1a35a0b
commit ed6114a7dc

View File

@ -169,7 +169,7 @@ class Widget extends DataObject {
$fields->removeByName('ParentID');
$fields->removeByName('Sort');
$this->extend('updateCMSFields', $tabbedFields);
$this->extend('updateCMSFields', $fields);
return $fields;
}