From a74b1daad153d6eb2f58ddea398eff6c9dcc7ae3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 11 Mar 2019 01:38:52 +0100 Subject: [PATCH] Fix phpcs --- htdocs/opensurvey/card.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/opensurvey/card.php b/htdocs/opensurvey/card.php index bcfa77ab18a..5982a8c271b 100644 --- a/htdocs/opensurvey/card.php +++ b/htdocs/opensurvey/card.php @@ -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)