Skip to content

Commit

Permalink
Dev: quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Feb 7, 2018
1 parent ad703e8 commit 64260f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -373,6 +373,7 @@ public function run($surveyid, $args)


$aStandardsReplacementFields = array();
$this->aSurveyInfo['surveyls_url'] = $this->processString($this->aSurveyInfo['surveyls_url']);
if (strpos($qa[0]['text'], "{") !== false) {
// process string anyway so that it can be pretty-printed
$aStandardsReplacementFields = getStandardsReplacementFields($this->aSurveyInfo);
Expand Down Expand Up @@ -936,7 +937,7 @@ private function displayFirstPageIfNeeded()

if ($this->sSurveyMode == 'survey' || $bDisplayFirstPage ){
$this->aSurveyInfo['description'] = $this->processString($this->aSurveyInfo['description']);
$this->aSurveyInfo['welcome'] = $this->processString($this->aSurveyInfo['welcome']) ;
$this->aSurveyInfo['welcome'] = $this->processString($this->aSurveyInfo['welcome']) ;
}

if ($bDisplayFirstPage) {
Expand Down Expand Up @@ -1137,7 +1138,7 @@ private function moveSubmitIfNeeded()

$this->aSurveyInfo['aCompleted']['sPluginHTML'] = implode("\n", $blocks)."\n";
$this->aSurveyInfo['aCompleted']['sSurveylsUrl'] = $this->aSurveyInfo['surveyls_url'];
$this->aSurveyInfo['surveyls_url'] = $this->processString($this->aSurveyInfo['surveyls_url'];
$this->aSurveyInfo['surveyls_url'] = $this->processString($this->aSurveyInfo['surveyls_url']);
$this->aSurveyInfo['aCompleted']['sSurveylsUrl'] = $this->aSurveyInfo['surveyls_url'];


Expand Down

0 comments on commit 64260f9

Please sign in to comment.