From 1b96a750dd0eea486bcdd402868c8acfd2ce2f76 Mon Sep 17 00:00:00 2001 From: Pack Date: Wed, 24 Jul 2024 16:59:19 +1200 Subject: [PATCH] validate each this missing after rebase code symbiote/silverstripe-advancedworkflow v6 --- src/Extensions/WorkflowApplicable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;