From: Roland Häder Date: Sat, 18 Jul 2009 06:51:10 +0000 (+0000) Subject: No 'page' in console X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a5bbb78b128c67d6ae01b55a299a570e96d5360f;p=core.git No 'page' in console --- diff --git a/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php b/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php index 31dd4681..f241061c 100644 --- a/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php +++ b/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php @@ -137,7 +137,7 @@ class ConsoleControllerResolver extends BaseControllerResolver implements Contro // ... and set it $this->setClassName($className); - } elseif ($this->getConfigInstance()->readConfig('page_with_news') == $this->getApplicationInstance()->getRequestInstance()->getRequestElement('page')) { + } elseif ($this->getConfigInstance()->readConfig('page_with_news') == $this->getApplicationInstance()->getRequestInstance()->getRequestElement('command')) { // Yes, display news in home then set default controller with news $this->setClassName('ConsoleDefaultNewsController'); } else {