Fixing style errors.

This commit is contained in:
stickler-ci 2020-09-03 12:30:04 +00:00
parent bcd9a0b29f
commit 43590587e5

View File

@ -1318,7 +1318,7 @@ if ($resql)
foreach ($toselect as $checked) { foreach ($toselect as $checked) {
if ($tmpproposal->fetch($checked)) { if ($tmpproposal->fetch($checked)) {
if ($tmpproposal->statut == 0) { if ($tmpproposal->statut == 0) {
if($tmpproposal->valid($user)){ if ($tmpproposal->valid($user)){
setEventMessage($tmpproposal->ref . " " . $langs->trans('PassedInOpenStatus'), 'mesgs'); setEventMessage($tmpproposal->ref . " " . $langs->trans('PassedInOpenStatus'), 'mesgs');
} else { } else {
setEventMessage($langs->trans('CantBeValidated'), 'errors'); setEventMessage($langs->trans('CantBeValidated'), 'errors');
@ -1357,7 +1357,6 @@ if ($resql)
$db->commit(); $db->commit();
} }
} }
} else { } else {
dol_print_error($db); dol_print_error($db);
} }