From edcbaed6d1f7e30e5c54eed7e8e07d8355d91a7f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 27 Jul 2004 09:59:21 +0000 Subject: [PATCH] Correction erreur d'affichage --- htdocs/product/fiche.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 0a5c7fa4f2b..0025bf21759 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2001-2004 Rodolphe Quiedeville * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -326,11 +326,14 @@ else print ''; print 'Libellé'.$product->libelle.''; print 'Prix de vente'.price($product->price).''; - if ($product->type == 1) { - $nblignefour=4; - } else { - $nblignefour=3; - } + if ($product->type == 0) + { + $nblignefour=4; + } + else + { + $nblignefour=3; + } print ''; print 'Fournisseurs [Ajouter]';