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:
phpnut 2006-10-05 16:50:29 +00:00
parent 899cf2bebf
commit 1b9155afe6

View file

@ -171,7 +171,12 @@ class Dispatcher extends Object {
$missingAction = true; $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; $missingAction = true;
} }