[-] FO: don't load medias if error on product page to avoid JS bugs
This commit is contained in:
1 parent
03842da02d
commit
adecde6ee1
2 files changed
+25
-22
No files matched your search
@@ -400,7 +400,6 @@ class FrontControllerCore extends Controller
|
||||
die(Tools::displayError());
|
||||
|
||||
$this->iso = $iso;
|
||||
$this->setMedia();
|
||||
|
||||
$this->context->cart = $cart;
|
||||
$this->context->currency = $currency;
|
||||
|
||||
Reference in new issue
Block a user