Skip to content

Commit

Permalink
Merge pull request #513 from silverstripeltd/pulls/fix-argument-order
Browse files Browse the repository at this point in the history
FIX Argument order of insertBefore method
  • Loading branch information
GuySartorelli authored Jan 26, 2024
2 parents 08fa6fd + 8f08322 commit 091b85c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/WorkflowApplicable.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public function updateCMSActions(FieldList $actions)
}
// Only display menu if actions pushed to it
if ($tab->Fields()->exists()) {
$menu->insertBefore($tab, 'MoreOptions');
$menu->insertBefore('MoreOptions', $tab);
}
}
}
Expand Down

0 comments on commit 091b85c

Please sign in to comment.