[-] BO : Fix "The controller adminnotound is missing or invalid." error when no controller get variable
This commit is contained in:
1 parent
2bcd5bd0c2
commit
9b615244b1
4 files changed
+9
-5
No files matched your search
@@ -39,8 +39,7 @@ class AdminNotFoundControllerCore extends AdminController
|
||||
public function initContent()
|
||||
{
|
||||
$this->errors[] = Tools::displayError('Controller not found');
|
||||
$tpl_vars['controller'] = Tools::getvalue('controller');
|
||||
|
||||
$tpl_vars['controller'] = Tools::getvalue('controllerUri', Tools::getvalue('controller'));
|
||||
$this->context->smarty->assign($tpl_vars);
|
||||
parent::initContent();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user