Skip to content

Commit

Permalink
FIX error expedition qty 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Falière committed May 25, 2023
1 parent 884ac62 commit a47f59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/expedition/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
$entrepot_id = 0;
}

$ret = $object->addline($entrepot_id, GETPOST($idl, 'int'), GETPOST($qty, 'int'), $array_options[$i]);
$ret = $object->addline($entrepot_id, GETPOST($idl, 'int'), GETPOSTINT($qty), $array_options[$i]);
if ($ret < 0) {
setEventMessages($object->error, $object->errors, 'errors');
$error++;
Expand Down

0 comments on commit a47f59c

Please sign in to comment.