[-] CORE : fixed bug #PSCFV-5536 - Layout for index controller is broken
This commit is contained in:
1 parent
8a3e8d1d73
commit
6f4de596c6
1 file changed
+3
-1
@@ -243,7 +243,6 @@ class DispatcherCore
|
||||
$this->getController();
|
||||
if (!$this->controller)
|
||||
$this->controller = $this->default_controller;
|
||||
|
||||
// Dispatch with right front controller
|
||||
switch ($this->front_controller)
|
||||
{
|
||||
@@ -644,7 +643,10 @@ class DispatcherCore
|
||||
public function getController()
|
||||
{
|
||||
if ($this->controller)
|
||||
{
|
||||
$_GET['controller'] = $this->controller;
|
||||
return $this->controller;
|
||||
}
|
||||
|
||||
$controller = Tools::getValue('controller');
|
||||
|
||||
|
||||
Reference in new issue
Block a user