MINOR Don't use template method Actions internally in Form

This commit is contained in:
Sean Harvey 2012-05-24 10:49:47 +12:00
parent c7e0cee637
commit a84ef8d8f3

View File

@ -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,