diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 0bc01f8ca10..bc2f23782a8 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -304,7 +304,7 @@ if ($_POST['action'] == 'add' && $user->rights->propale->creer) /* * Cloture de la propale */ -if ($_POST['action'] == 'setstatut' && $user->rights->propale->cloturer) +if ($_REQUEST['action'] == 'setstatut' && $user->rights->propale->cloturer) { if (! $_POST['cancel']) { @@ -312,7 +312,7 @@ if ($_POST['action'] == 'setstatut' && $user->rights->propale->cloturer) $propal->fetch($_GET['propalid']); // prevent browser refresh from closing proposal several times if ($propal->statut==1) { - $propal->cloture($user, $_POST['statut'], $_POST['note']); + $propal->cloture($user, $_REQUEST['statut'], $_REQUEST['note']); } } } @@ -1414,10 +1414,12 @@ if ($_GET['propalid'] > 0) /* * Formulaire cloture (signé ou non) */ - $form_close = '