diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index effd4f38e49..bb624706266 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -809,7 +809,7 @@ else * Product card */ - if ($id || $ref) + else if ($id || $ref) { $object=new Product($db); $object->fetch($id,$ref); @@ -834,13 +834,13 @@ else print ''; // Ref - print ''; + print ''; // Label - print ''; + print ''; // Status - print ''; // To Buy - print '
'.$langs->trans("Ref").'
'.$langs->trans("Ref").'
'.$langs->trans("Label").'
'.$langs->trans("Label").'
'.$langs->trans("Status").' ('.$langs->trans("Sell").')'; + print '
'.$langs->trans("Status").' ('.$langs->trans("Sell").')'; print '
'.$langs->trans("Status").' ('.$langs->trans("Buy").')'; + print '
'.$langs->trans("Status").' ('.$langs->trans("Buy").')'; print '