Commit f9316f7f authored by Mario's avatar Mario

fix filter_catalog_display() for hzservices

parent d73c585d
......@@ -110,7 +110,7 @@ class Cart_hzservices {
static public function filter_catalog_display(&$catalog) {
$itemlist = Cart_hzservices::get_itemlist();
foreach ($itemlist as $item) {
if (!isset($item["item_active"])) {
if (!isset($item["item_active"]) || $item["item_active"] == 0) {
unset($catalog[$item["item_sku"]]);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment