Clean params
This commit is contained in:
parent
000c1bddb2
commit
b124c7f16d
@ -611,8 +611,7 @@ if (empty($reshook))
|
|||||||
// prevent browser refresh from closing proposal several times
|
// prevent browser refresh from closing proposal several times
|
||||||
if ($object->statut == Propal::STATUS_VALIDATED)
|
if ($object->statut == Propal::STATUS_VALIDATED)
|
||||||
{
|
{
|
||||||
$newprivatenote = dol_concatdesc($object->note_private, GETPOST('note_private','alpha'));
|
$result=$object->cloture($user, GETPOST('statut','int'), GETPOST('note','none'));
|
||||||
$result=$object->cloture($user, GETPOST('statut','int'), $newprivatenote);
|
|
||||||
if ($result < 0)
|
if ($result < 0)
|
||||||
{
|
{
|
||||||
setEventMessages($object->error, $object->errors, 'errors');
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user