diff --git a/controllers/front/StoresController.php b/controllers/front/StoresController.php index 9c10e6a4b..abb91343f 100644 --- a/controllers/front/StoresController.php +++ b/controllers/front/StoresController.php @@ -40,7 +40,7 @@ class StoresControllerCore extends FrontController if (!extension_loaded('Dom')) { $this->errors[] = Tools::displayError('Dom extension is not loaded.'); - $smarty->assign('errors', $this->errors); + $this->context->smarty->assign('errors', $this->errors); } }