Fixing style errors.

This commit is contained in:
stickler-ci 2021-08-28 14:35:01 +00:00
parent 31ca781236
commit e60cf96c8e

View File

@ -722,10 +722,10 @@ if (empty($reshook)) {
$line->id = $line_id;
$line->qty = GETPOST($qty, 'int');
$line->entrepot_id = 0;
if ($line->update($user) < 0) {
setEventMessages($line->error, $line->errors, 'errors');
$error++;
}
if ($line->update($user) < 0) {
setEventMessages($line->error, $line->errors, 'errors');
$error++;
}
unset($_POST[$qty]);
}
} else {