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.
1 parent 050b288 commit 092a282Copy full SHA for 092a282
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