[-] BO : Fix "The controller adminnotound is missing or invalid." error when no controller get variable
This commit is contained in:
@@ -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