Fix phpcs
This commit is contained in:
parent
ada7b74ba1
commit
dd773d33fd
@ -66,12 +66,13 @@ if ($id > 0 || ! empty($ref))
|
||||
|
||||
if ($cancel) $action ='';
|
||||
|
||||
// Action association d'un sousproduit
|
||||
// Add subproduct to product
|
||||
if ($action == 'add_prod' && ($user->rights->produit->creer || $user->rights->service->creer))
|
||||
{
|
||||
$error=0;
|
||||
|
||||
for ($i=0; $i < GETPOST("max_prod", 'int'); $i++)
|
||||
$maxprod = GETPOST("max_prod", 'int');
|
||||
for ($i=0; $i < $maxprod; $i++)
|
||||
{
|
||||
$qty = price2num(GETPOST("prod_qty_".$i, 'alpha'), 'MS');
|
||||
if ($qty > 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user