Update product.lib.php
This commit is contained in:
parent
3209708e30
commit
e711ab3aa3
@ -107,7 +107,7 @@ function product_prepare_head($object)
|
||||
|
||||
$prodcomb = new ProductCombination($db);
|
||||
|
||||
if ($prodcomb->getFkProductParentByFkProductChild($object->id) == -1)
|
||||
if ($prodcomb->fetchByFkProductChild($object->id) == -1)
|
||||
{
|
||||
$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