diff --git a/htdocs/product/composition/fiche.php b/htdocs/product/composition/fiche.php index cd2b62489b3..b9751aa8df7 100644 --- a/htdocs/product/composition/fiche.php +++ b/htdocs/product/composition/fiche.php @@ -225,7 +225,7 @@ if ($id || $ref) //print $productstatic->getNomUrl(1).'
'; //print $value[0]; // This contains a tr line. print ''; - print ''.$productstatic->getNomUrl(1).' ('.$value['nb'].')    '; + print ''.$productstatic->getNomUrl(1,'composition').' ('.$value['nb'].')    '; if ($conf->stock->enabled) print ''.$langs->trans("Stock").' : '.$productstatic->stock_reel.''; print ''; } @@ -248,7 +248,7 @@ if ($id || $ref) $productstatic->type=$value["fk_product_type"]; $productstatic->ref=$value['label']; print ''; - print ''.$productstatic->getNomUrl(1).'';; + print ''.$productstatic->getNomUrl(1,'composition').'';; print ''; } print ''; @@ -310,7 +310,7 @@ if ($id || $ref) //print $productstatic->getNomUrl(1).'
'; //print $value[0]; // This contains a tr line. print ''; - print ''.$productstatic->getNomUrl(1).' ('.$value['nb'].')    '; + print ''.$productstatic->getNomUrl(1,'composition').' ('.$value['nb'].')    '; if ($conf->stock->enabled) print ''.$langs->trans("Stock").' : '.$productstatic->stock_reel.''; print ''; } @@ -333,7 +333,7 @@ if ($id || $ref) $productstatic->type=$value["fk_product_type"]; $productstatic->ref=$value['label']; print ''; - print ''.$productstatic->getNomUrl(1).'';; + print ''.$productstatic->getNomUrl(1,'composition').'';; print ''; } print '';