From 91e46ac72b6788a5b72b27f0e06cfae625ea3cc1 Mon Sep 17 00:00:00 2001 From: LouisGac Date: Thu, 30 Mar 2017 14:03:25 +0200 Subject: [PATCH] Dev: some cleaning --- application/helpers/SurveyRuntimeHelper.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/application/helpers/SurveyRuntimeHelper.php b/application/helpers/SurveyRuntimeHelper.php index 5b5ac7b79bc..3fe33ccdf0e 100644 --- a/application/helpers/SurveyRuntimeHelper.php +++ b/application/helpers/SurveyRuntimeHelper.php @@ -1864,7 +1864,7 @@ private function makeLanguageChanger() } /** - * This method will set survey value in public property of the class + * This method will set survey values in public property of the class * So, any value here set as $this->xxx will be available as $xxx after : * $aPrivateVariables = $this->getArgs(); extract($aPrivateVariables); * eg: $LEMsessid @@ -1873,12 +1873,9 @@ private function makeLanguageChanger() function setSurveySettings( $surveyid, $args ) { $this->setVarFromArgs($args); // Set the private variable from $args - - // Template settings - $this->initTemplate(); - + $this->initTemplate(); // Template settings $this->setJavascriptVar(); - $this->setArgs(); + $this->setArgs(); extract($args);