Fixing undefined notice after removing RequestHandler::disableStartup = false; in [4981]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4984 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-05-02 09:04:52 +00:00
parent 34eb76b0ff
commit c3370e42f6

View file

@ -186,7 +186,7 @@ class RequestHandlerComponent extends Object {
*/
function startup(&$controller) {
if ($this->disableStartup || !$this->enabled) {
if (!$this->enabled) {
return;
}
$controller->params['isAjax'] = $this->isAjax();