diff --git a/code/model/SiteTreeFileExtension.php b/code/model/SiteTreeFileExtension.php index 4949ccf8..94794fca 100644 --- a/code/model/SiteTreeFileExtension.php +++ b/code/model/SiteTreeFileExtension.php @@ -9,7 +9,7 @@ class SiteTreeFileExtension extends DataExtension { 'BackLinkTracking' => 'SiteTree' ); - public function updateCMSFields(FieldList $fields) { + public function updateCMSFields(FieldList &$fields) { $fields->insertAfter(new ReadonlyField('BackLinkCount', _t('AssetTableField.BACKLINKCOUNT', 'Used on:'), $this->BackLinkTracking()->Count() . ' ' . _t('AssetTableField.PAGES', 'page(s)')),