From 04989ff4a060f3ebf51e2202e4f6b726248ece1a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 11 Nov 2011 01:30:00 +0100 Subject: [PATCH] Fix: double screen when creating product with no ref --- htdocs/product/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 7b04f2cd9f7..d94f584f2c9 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -820,7 +820,7 @@ if ($action == 'create' && ($user->rights->produit->creer || $user->rights->serv * Product card */ -if ($id || $ref) +else if ($id || $ref) { $product=new Product($db);