Update product.lib.php

This commit is contained in:
Cédric 2020-09-17 12:31:56 +02:00 committed by GitHub
parent 3209708e30
commit e711ab3aa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');