Accueil » Archives »

Archives

Shnoulle (Denis Chenu) · GitHub »

[11 décembre 2017 - 16:22 | Shnoulle (Denis Chenu) · GitHub]

Shnoulle commented on commit LimeSurvey/LimeSurvey@2f018f290c Dec 11, 2017 We dson't already have it ???? 😮

Shnoulle (Denis Chenu) · GitHub »

[11 décembre 2017 - 12:47 | Shnoulle (Denis Chenu) · GitHub]

Shnoulle commented on commit LimeSurvey/LimeSurvey@146d960962 Dec 11, 2017 :) . I think, it's this : in PHP session, for SGQA : ($_SESSION['survey_'.$sid][$sgq]) value is null : then user don't see it before (for example …

Shnoulle (Denis Chenu) · GitHub »

[11 décembre 2017 - 12:34 | Shnoulle (Denis Chenu) · GitHub]

Shnoulle commented on commit LimeSurvey/LimeSurvey@146d960962 Dec 11, 2017 No, we DON'T need empty, we need ONLY is_null (or isset). Example : mktime(NumericQuestion.NAOK) must return false, empty string if user didn't e…

Shnoulle (Denis Chenu) · GitHub »

[11 décembre 2017 - 11:14 | Shnoulle (Denis Chenu) · GitHub]

Shnoulle commented on commit LimeSurvey/LimeSurvey@146d960962 Dec 11, 2017 Not empty : because is user send "" or 0 : we need to keep it. is_nulll maybe

Shnoulle (Denis Chenu) · GitHub »

[11 décembre 2017 - 10:31 | Shnoulle (Denis Chenu) · GitHub]

Shnoulle commented on commit LimeSurvey/LimeSurvey@146d960962 Dec 11, 2017 You're right :). Another idea is to use array_merge, but this one seems clearer enough.