From 2112d11b7fbe609949826cce86e6ad7da3babbaa Mon Sep 17 00:00:00 2001 From: LouisGac Date: Thu, 11 May 2017 11:44:03 +0200 Subject: [PATCH] Dev: removed isset check for qanda --- application/helpers/SurveyRuntimeHelper.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/application/helpers/SurveyRuntimeHelper.php b/application/helpers/SurveyRuntimeHelper.php index ac6211b6aff..5c44d0acda2 100644 --- a/application/helpers/SurveyRuntimeHelper.php +++ b/application/helpers/SurveyRuntimeHelper.php @@ -157,10 +157,7 @@ public function run($surveyid,$args) } //// To diplay one question, all the questions are processed ? - if (!isset($qanda)){ - $qanda = array(); - } - + $qanda = array(); $upload_file = false; foreach ($_SESSION[$LEMsessid]['fieldarray'] as $key => $ia){ ++$qnumber;