Fix var_dump
This commit is contained in:
parent
43ec6c3ae5
commit
43c48727e2
@ -70,8 +70,8 @@ if ($cancel) $action ='';
|
||||
if ($action == 'add_prod' && ($user->rights->produit->creer || $user->rights->service->creer))
|
||||
{
|
||||
$error=0;
|
||||
var_dump(GETPOST("max_prod", 'int'));
|
||||
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