From a5bbb78b128c67d6ae01b55a299a570e96d5360f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 18 Jul 2009 06:51:10 +0000 Subject: [PATCH] No 'page' in console --- .../controller/console/class_ConsoleControllerResolver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5