We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3aeb471 + 092a282 commit 017c584Copy full SHA for 017c584
src/app/Library/CrudPanel/Traits/SaveActions.php
@@ -47,7 +47,7 @@ public function getFallBackSaveAction()
47
*/
48
public function getSaveActionByOrder($order)
49
{
50
- return array_filter($this->getOperationSetting('save_actions'), function ($arr) use ($order) {
+ return array_filter($this->getOperationSetting('save_actions') ?? [], function ($arr) use ($order) {
51
return $arr['order'] == $order;
52
});
53
}
0 commit comments