Adding 1.2 fix for Ticket #1794

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4170 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2006-12-23 21:30:56 +00:00
parent 2ea8e4edee
commit 673bd82ee8

View file

@ -187,11 +187,11 @@ class Dispatcher extends Object {
$missingAction = true;
}
if (in_array(strtolower($params['action']), array('toString', 'requestAction', 'log',
'cakeError', 'constructClasses', 'redirect',
'set', 'setAction', 'validate', 'validateErrors',
'render', 'referer', 'flash', 'flashOut',
'generateFieldNames', 'postConditions', 'cleanUpFields',
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;
}