diff --git a/src/Admin/MultisitesCmsMainExtension.php b/src/Admin/MultisitesCmsMainExtension.php index 522d543..aabf4fe 100644 --- a/src/Admin/MultisitesCmsMainExtension.php +++ b/src/Admin/MultisitesCmsMainExtension.php @@ -106,7 +106,7 @@ public function updateEditForm($form) { $className = $classNameField->Value(); if ($className === Site::class) { - $form->Fields()->removeByName(array(SilverStripeNavigator::class)); + $form->Fields()->removeByName(['SilverStripeNavigator']); $form->removeExtraClass('cms-previewable'); } }