mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 09:05:58 +00:00
BUGFIX Removed duplicate calls to extension
$this->extend('updateCMSFields', $fields); is already called by; $fields = parent::getCMSFields();
This commit is contained in:
parent
3ae0b78c7d
commit
6fd6bd869d
@ -78,8 +78,6 @@ class BlogEntry extends Page {
|
|||||||
|
|
||||||
$fields->addFieldToTab("Root.Main", new TextField("Tags", _t("BlogEntry.TS", "Tags (comma sep.)")),"Content");
|
$fields->addFieldToTab("Root.Main", new TextField("Tags", _t("BlogEntry.TS", "Tags (comma sep.)")),"Content");
|
||||||
|
|
||||||
$this->extend('updateCMSFields', $fields);
|
|
||||||
|
|
||||||
return $fields;
|
return $fields;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user