[-] FO: don't load medias if error on product page to avoid JS bugs

This commit is contained in:
Rémi Gaillard committed 2013-02-11 17:33:19 +01:00
1 parent 03842da02d
commit adecde6ee1
2 files changed
+25 -22

No files matched your search

-1
View File
@@ -400,7 +400,6 @@ class FrontControllerCore extends Controller
die(Tools::displayError());
$this->iso = $iso;
$this->setMedia();
$this->context->cart = $cart;
$this->context->currency = $currency;