Fix: double increment !!!

This commit is contained in:
Regis Houssin 2011-12-16 18:55:09 +01:00
parent 79969a0247
commit 4fd0a12731

View File

@ -513,8 +513,6 @@ class Expedition extends CommonObject
// 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));
if ($result < 0) { $error++; break; }
$i++;
}
}
else