mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
phpcs
This commit is contained in:
parent
1992b633ba
commit
7fbacf4352
|
|
@ -117,8 +117,8 @@ if (empty($reshook))
|
|||
$object->description = GETPOST('nouveauxcommentaires', 'restricthtml');
|
||||
$object->mail_admin = GETPOST('nouvelleadresse', 'alpha');
|
||||
$object->date_fin = $expiredate;
|
||||
$object->allow_comments = GETPOST('cancomment', 'alpha') == 'on' ? true : false;
|
||||
$object->allow_spy = GETPOST('canseeothersvote', 'alpha') == 'on' ? true : false;
|
||||
$object->allow_comments = GETPOST('cancomment', 'alpha') == 'on' ? 1 : 0;
|
||||
$object->allow_spy = GETPOST('canseeothersvote', 'alpha') == 'on' ? 1 : 0;
|
||||
$object->mailsonde = GETPOST('mailsonde', 'alpha') == 'on' ? true : false;
|
||||
|
||||
$res = $object->update($user);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user