Fix php syntax

This commit is contained in:
Laurent Destailleur 2022-03-24 11:48:51 +01:00
parent 6abeb2804e
commit 6438a99960

View File

@ -382,7 +382,7 @@ if ($action == "sign" && $permissiontoclose) {
foreach ($toselect as $checked) {
if ($tmpproposal->fetch($checked) > 0) {
if ($tmpproposal->statut == $tmpproposal::STATUS_VALIDATED) {
$tmpproposal->statut = $tmpproposal::STATUS_SIGNED;;
$tmpproposal->statut = $tmpproposal::STATUS_SIGNED;
if ($tmpproposal->closeProposal($user, $tmpproposal::STATUS_SIGNED) >= 0) {
setEventMessage($tmpproposal->ref." ".$langs->trans('Signed'), 'mesgs');
} else {