From a84ef8d8f39f2da1a0790924ba739720b90eee2f Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 24 May 2012 10:49:47 +1200 Subject: [PATCH] MINOR Don't use template method Actions internally in Form --- forms/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,