[-] BO - fixed bug #PSCFV-5549 -
This commit is contained in:
1 parent
508cd6e028
commit
1959075a27
1 file changed
+1
-1
@@ -1348,7 +1348,7 @@ class CategoryCore extends ObjectModel
|
|||||||
SELECT c.`id_category`
|
SELECT c.`id_category`
|
||||||
FROM `'._DB_PREFIX_.'category` c
|
FROM `'._DB_PREFIX_.'category` c
|
||||||
LEFT JOIN `'._DB_PREFIX_.'category_shop` cs
|
LEFT JOIN `'._DB_PREFIX_.'category_shop` cs
|
||||||
ON (c.`id_category` = cs.`id_category` AND cs.`id_shop` = '.(int)$id_shop.')
|
ON (c.`id_category` = cs.`id_category` AND cs.`id_shop` IN ('.implode(', ', Shop::getContextListShopID()).') )
|
||||||
WHERE cs.`id_shop` = '.(int)$id_shop.'
|
WHERE cs.`id_shop` = '.(int)$id_shop.'
|
||||||
AND c.`id_parent` = '.(int)$this->id_parent);
|
AND c.`id_parent` = '.(int)$this->id_parent);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user