Merge pull request #15194 from ptibogxiv/patch-391
FIX display variants card
This commit is contained in:
commit
77dfda1a2d
@ -107,7 +107,7 @@ function product_prepare_head($object)
|
||||
|
||||
$prodcomb = new ProductCombination($db);
|
||||
|
||||
if ($prodcomb->fetchByFkProductChild($object->id) == -1)
|
||||
if ($prodcomb->fetchByFkProductChild($object->id) <= 0)
|
||||
{
|
||||
$head[$h][0] = DOL_URL_ROOT."/variants/combinations.php?id=".$object->id;
|
||||
$head[$h][1] = $langs->trans('ProductCombinations');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user