// Fixed Supplier
This commit is contained in:
1 parent
b4d68ba23b
commit
4763f8fb69
1 file changed
+1
@@ -350,6 +350,7 @@ class SupplierCore extends ObjectModel
|
|||||||
$query->where('id_product_attribute = '.(int)$id_product_attribute);
|
$query->where('id_product_attribute = '.(int)$id_product_attribute);
|
||||||
$res = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($query);
|
$res = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($query);
|
||||||
|
|
||||||
|
if (count($res))
|
||||||
return $res[0];
|
return $res[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user