Skip to content

Commit

Permalink
Dev: removed isset check for qanda
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed May 11, 2017
1 parent c3216bb commit 2112d11
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -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;
Expand Down

0 comments on commit 2112d11

Please sign in to comment.