Fix: double screen when creating product with no ref
This commit is contained in:
parent
1a3b3f557b
commit
04989ff4a0
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user