mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
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:
parent
34eb76b0ff
commit
c3370e42f6
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class RequestHandlerComponent extends Object {
|
||||||
*/
|
*/
|
||||||
function startup(&$controller) {
|
function startup(&$controller) {
|
||||||
|
|
||||||
if ($this->disableStartup || !$this->enabled) {
|
if (!$this->enabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$controller->params['isAjax'] = $this->isAjax();
|
$controller->params['isAjax'] = $this->isAjax();
|
||||||
|
|
Loading…
Reference in a new issue