Fix phpcs
This commit is contained in:
parent
32f2499c36
commit
6abeb2804e
@ -382,7 +382,6 @@ if ($action == "sign" && $permissiontoclose) {
|
|||||||
foreach ($toselect as $checked) {
|
foreach ($toselect as $checked) {
|
||||||
if ($tmpproposal->fetch($checked) > 0) {
|
if ($tmpproposal->fetch($checked) > 0) {
|
||||||
if ($tmpproposal->statut == $tmpproposal::STATUS_VALIDATED) {
|
if ($tmpproposal->statut == $tmpproposal::STATUS_VALIDATED) {
|
||||||
|
|
||||||
$tmpproposal->statut = $tmpproposal::STATUS_SIGNED;;
|
$tmpproposal->statut = $tmpproposal::STATUS_SIGNED;;
|
||||||
if ($tmpproposal->closeProposal($user, $tmpproposal::STATUS_SIGNED) >= 0) {
|
if ($tmpproposal->closeProposal($user, $tmpproposal::STATUS_SIGNED) >= 0) {
|
||||||
setEventMessage($tmpproposal->ref." ".$langs->trans('Signed'), 'mesgs');
|
setEventMessage($tmpproposal->ref." ".$langs->trans('Signed'), 'mesgs');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user