mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Don't use template method Actions internally in Form
This commit is contained in:
parent
c7e0cee637
commit
a84ef8d8f3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user