Fix: double screen when creating product with no ref

This commit is contained in:
Laurent Destailleur 2011-11-11 01:30:00 +01:00
parent 1a3b3f557b
commit 04989ff4a0

View File

@ -820,7 +820,7 @@ if ($action == 'create' && ($user->rights->produit->creer || $user->rights->serv
* Product card * Product card
*/ */
if ($id || $ref) else if ($id || $ref)
{ {
$product=new Product($db); $product=new Product($db);