[-] FO: don't load medias if error on product page to avoid JS bugs
This commit is contained in:
@@ -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