// Blocklayered - Fix bug with ajax call on the BO
This commit is contained in:
@@ -1574,11 +1574,8 @@ class BlockLayered extends Module
|
|||||||
foreach (Db::getInstance()->executeS('SELECT id_category FROM `'._DB_PREFIX_.'category`') as $category)
|
foreach (Db::getInstance()->executeS('SELECT id_category FROM `'._DB_PREFIX_.'category`') as $category)
|
||||||
if ($category['id_category'] != 1)
|
if ($category['id_category'] != 1)
|
||||||
$category_ist[] = $category['id_category'];
|
$category_ist[] = $category['id_category'];
|
||||||
|
|
||||||
if (Tools::usingSecureMode())
|
$domain = Tools::getProtocol(Tools::usingSecureMode()).$_SERVER['HTTP_HOST'];
|
||||||
$domain = Tools::getShopDomainSsl(true);
|
|
||||||
else
|
|
||||||
$domain = Tools::getShopDomain(true);
|
|
||||||
|
|
||||||
$html .= '
|
$html .= '
|
||||||
<a class="bold ajaxcall-recurcive"
|
<a class="bold ajaxcall-recurcive"
|
||||||
|
|||||||
Reference in New Issue
Block a user