From 83222a3ae2b68d81d67cddf6da852eefbc16d060 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 19 Jul 2006 12:22:08 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20d=E9placement=20du=20message=20d'erreur?= =?UTF-8?q?=20si=20r=E9f=E9rence=20d=E9j=E0=20existante?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/product/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 41521d76c68..d27049360fb 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -388,8 +388,6 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) { $product = new Product($db); - if ($mesg) print "$mesg\n"; - if ($_error == 1) { $product = $e_product; @@ -397,6 +395,8 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer) llxHeader("","",$langs->trans("CardProduct".$product->type)); + if ($mesg) print "$mesg\n"; + print '
'; print ''; print ''."\n";