Permalink
Browse files

MINOR Don't use template method Actions internally in Form

  • Loading branch information...
1 parent c7e0cee commit a84ef8d8f39f2da1a0790924ba739720b90eee2f @halkyon halkyon committed May 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 forms/Form.php
View
@@ -277,7 +277,7 @@ public function httpSubmission($request) {
$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,

0 comments on commit a84ef8d

Please sign in to comment.