Fix: double increment !!!
This commit is contained in:
parent
79969a0247
commit
4fd0a12731
@ -513,8 +513,6 @@ class Expedition extends CommonObject
|
|||||||
// We use warehouse selected for each line
|
// We use warehouse selected for each line
|
||||||
$result=$mouvS->livraison($user, $obj->fk_product, $obj->fk_entrepot, $obj->qty, $obj->subprice, $langs->trans("ShipmentValidatedInDolibarr",$numref));
|
$result=$mouvS->livraison($user, $obj->fk_product, $obj->fk_entrepot, $obj->qty, $obj->subprice, $langs->trans("ShipmentValidatedInDolibarr",$numref));
|
||||||
if ($result < 0) { $error++; break; }
|
if ($result < 0) { $error++; break; }
|
||||||
|
|
||||||
$i++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user