diff --git a/autoload/admin/factory/class.ShopProduct.php b/autoload/admin/factory/class.ShopProduct.php index 7437b8d..c372c3f 100644 --- a/autoload/admin/factory/class.ShopProduct.php +++ b/autoload/admin/factory/class.ShopProduct.php @@ -263,7 +263,7 @@ class ShopProduct { $product = \shop\Product::getFromCache( $product_id, $lang_id ); - if ( count( $product -> product_combinations ) ) + if ( is_array( $product -> product_combinations ) and count( $product -> product_combinations ) ) { foreach ( $product -> product_combinations as $product_combination ) {