mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
BUGFIX: subsites admin broken by calling $this->updateCMSFields in getCMSFields() functioin of Subsite class, instead, we should call $this->extend('updateCMSFields', $fields);
This commit is contained in:
parent
339c86ba25
commit
2003499859
@ -108,7 +108,7 @@ class Subsite extends DataObject implements PermissionProvider {
|
||||
$fields->addFieldsToTab('Root.Configuration', new DropdownField('Theme', 'Theme:', $themes, $this->Theme));
|
||||
*/
|
||||
|
||||
$this->updateCMSFields($fields);
|
||||
$this->extend('updateCMSFields', $fields);
|
||||
return $fields;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user