Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyecommerce committed Apr 11, 2020
1 parent 596235f commit 3c70ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/product/ProductMysqldb.php
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ public function getCategoryIdsByProductIds($product_ids)
*/
public function getCategorysByProductIds($product_ids)
{
if (empty($product_ids) || is_array($product_ids)) {
if (empty($product_ids) || !is_array($product_ids)) {
return [];
}
$coll = $this->_categoryProductModel->find()
Expand Down

0 comments on commit 3c70ce3

Please sign in to comment.