$sql="SELECT count(rowid) as nb FROM ".MAIN_DB_PREFIX."product_attribute_combination WHERE fk_product_parent = ".(int)$fk_product_parent." AND entity IN (".getEntity('product').")";
$sql="SELECT count(rowid) as nb FROM ".MAIN_DB_PREFIX."product_attribute_combination WHERE fk_product_parent = ".(int)$fk_product_parent." AND entity IN (".getEntity('product').")";
if($productCombinations||$massactionbutton||$massaction)// If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
if($productCombinations||$massactionbutton||$massaction)// If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
{
{
...
@@ -690,7 +690,7 @@ if (! empty($id) || ! empty($ref))
...
@@ -690,7 +690,7 @@ if (! empty($id) || ! empty($ref))