Clean params

This commit is contained in:
Laurent Destailleur 2017-10-18 11:15:54 +02:00
parent 000c1bddb2
commit b124c7f16d

View File

@ -611,8 +611,7 @@ if (empty($reshook))
// prevent browser refresh from closing proposal several times
if ($object->statut == Propal::STATUS_VALIDATED)
{
$newprivatenote = dol_concatdesc($object->note_private, GETPOST('note_private','alpha'));
$result=$object->cloture($user, GETPOST('statut','int'), $newprivatenote);
$result=$object->cloture($user, GETPOST('statut','int'), GETPOST('note','none'));
if ($result < 0)
{
setEventMessages($object->error, $object->errors, 'errors');