From ca57e4e167dcade8d9294305848125883c21b4c1 Mon Sep 17 00:00:00 2001 From: LouisGac Date: Fri, 29 Jun 2018 15:55:05 +0200 Subject: [PATCH] Fixed issue: no token replacement in end url --- application/helpers/SurveyRuntimeHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/helpers/SurveyRuntimeHelper.php b/application/helpers/SurveyRuntimeHelper.php index a3ba0448d94..cbbb9584c32 100644 --- a/application/helpers/SurveyRuntimeHelper.php +++ b/application/helpers/SurveyRuntimeHelper.php @@ -1169,9 +1169,9 @@ 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'] = passthruReplace($this->aSurveyInfo['surveyls_url'], $this->aSurveyInfo); $this->aSurveyInfo['surveyls_url'] = templatereplace($this->aSurveyInfo['surveyls_url'], array(), $redata, 'URLReplace', false, null, array(), true); // to do INSERTANS substitutions - $this->aSurveyInfo['surveyls_url'] = $this->processString($this->aSurveyInfo['surveyls_url']); $this->aSurveyInfo['aCompleted']['sSurveylsUrl'] = $this->aSurveyInfo['surveyls_url']; // TODO: Process string in url description?