diff --git a/forms/Form.php b/forms/Form.php index e97267dcf..d8ae818f1 100644 --- a/forms/Form.php +++ b/forms/Form.php @@ -277,7 +277,7 @@ class Form extends RequestHandler { $this->controller->hasMethod($funcName) && !$this->controller->checkAccessAction($funcName) // If a button exists, allow it on the controller - && !$this->Actions()->fieldByName('action_' . $funcName) + && !$this->actions->fieldByName('action_' . $funcName) ) { return $this->httpError( 403,