mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Adding fix for Ticket #1503
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3601 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
899cf2bebf
commit
1b9155afe6
1 changed files with 6 additions and 1 deletions
|
@ -171,7 +171,12 @@ class Dispatcher extends Object {
|
|||
$missingAction = true;
|
||||
}
|
||||
|
||||
if (in_array(strtolower($params['action']), array('beforefilter', 'beforerender', 'afterfilter'))) {
|
||||
if (in_array(strtolower($params['action']), array('toString', 'requestAction', 'log',
|
||||
'cakeError', 'constructClasses', 'redirect',
|
||||
'set', 'setAction', 'validate', 'validateErrors',
|
||||
'render', 'referer', 'flash', 'flashOut',
|
||||
'generateFieldNames', 'postConditions', 'cleanUpFields',
|
||||
'beforefilter', 'beforerender', 'afterfilter'))) {
|
||||
$missingAction = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue