]> git.mxchange.org Git - core.git/commitdiff
No 'page' in console
authorRoland Häder <roland@mxchange.org>
Sat, 18 Jul 2009 06:51:10 +0000 (06:51 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 18 Jul 2009 06:51:10 +0000 (06:51 +0000)
inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php

index 31dd4681541c38dd450373994133a54cedb9811c..f241061ceddff3a4ddd31cf7e26e1ae3ff412f7b 100644 (file)
@@ -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 {