diff --git a/src/Extensions/WorkflowApplicable.php b/src/Extensions/WorkflowApplicable.php index e8fc190f..c75e8a39 100644 --- a/src/Extensions/WorkflowApplicable.php +++ b/src/Extensions/WorkflowApplicable.php @@ -92,7 +92,7 @@ public function updateCMSFields(FieldList $fields) public function updateFields(FieldList $fields) { if (!$this->owner->ID) { - return $fields; + return; } $tab = $fields->fieldByName('Root') ? $fields->findOrMakeTab('Root.Workflow') : $fields;