diff --git a/forms/gridfield/GridField.php b/forms/gridfield/GridField.php index 9aef66d79..7f9628ebe 100755 --- a/forms/gridfield/GridField.php +++ b/forms/gridfield/GridField.php @@ -650,7 +650,7 @@ class GridField extends FormField { continue; } - if(in_array($actionName, array_map('strtolower', $component->getActions($this)))) { + if(is_array($component->getActions($this)) && in_array($actionName, array_map('strtolower', $component->getActions($this)))) { return $component->handleAction($this, $actionName, $args, $data); } }