Skip to content

Commit

Permalink
Fixed issue #19399: Survey do not show translated when register (#3733)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Feb 15, 2024
1 parent c0dbeca commit 1a6503c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/RegisterController.php
Expand Up @@ -432,7 +432,7 @@ private function display($iSurveyId, $iTokenId, $registerContent)
$this->aReplacementData['sMessage'] = $this->sMessage;

$oTemplate = Template::model()->getInstance('', $iSurveyId);
$aSurveyInfo = getsurveyinfo($iSurveyId);
$aSurveyInfo = getsurveyinfo($iSurveyId, $sLanguage);

if ($iTokenId !== null) {
$aData['aSurveyInfo'] = self::getRegisterSuccess($iSurveyId, $iTokenId);
Expand Down

0 comments on commit 1a6503c

Please sign in to comment.