mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Fix phpcs
This commit is contained in:
@@ -117,9 +117,9 @@ if (empty($reshook))
|
||||
$object->description = GETPOST('nouveauxcommentaires', 'nohtml');
|
||||
$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->mailsonde = GETPOST('mailsonde','alpha') == 'on' ? true : false;
|
||||
$object->allow_comments = GETPOST('cancomment', 'alpha') == 'on' ? true : false;
|
||||
$object->allow_spy = GETPOST('canseeothersvote', 'alpha') == 'on' ? true : false;
|
||||
$object->mailsonde = GETPOST('mailsonde', 'alpha') == 'on' ? true : false;
|
||||
|
||||
$res=$object->update($user);
|
||||
if ($res < 0)
|
||||
|
||||
Reference in New Issue
Block a user