Skip to content

Commit

Permalink
Fixed issue #18106: Missing survey ID replacements at registration sc…
Browse files Browse the repository at this point in the history
…reen
  • Loading branch information
gabrieljenik committed Jul 14, 2022
1 parent 49bda03 commit f23a8a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/controllers/RegisterController.php
Expand Up @@ -530,6 +530,10 @@ private function display($iSurveyId, $iTokenId, $registerContent)
$aData['aSurveyInfo']['alanguageChanger']['show'] = true;
$aData['aSurveyInfo']['alanguageChanger']['datas'] = $alanguageChangerDatas;
}

$LEM =& LimeExpressionManager::singleton();
$LEM->setVariableAndTokenMappingsForExpressionManager($iSurveyId);

Yii::app()->clientScript->registerScriptFile(Yii::app()->getConfig("generalscripts").'nojs.js', CClientScript::POS_HEAD);
Yii::app()->twigRenderer->renderTemplateFromFile('layout_global.twig', $aData, false);

Expand Down

0 comments on commit f23a8a8

Please sign in to comment.