Skip to content

Commit

Permalink
Fixed issue #7331: When survey language is changed in welcome screen …
Browse files Browse the repository at this point in the history
…then the token key is not properly saved along the response
  • Loading branch information
c-schmitz committed Mar 2, 2013
1 parent 78f17a3 commit 25b92ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/helpers/frontend_helper.php
Expand Up @@ -226,6 +226,10 @@ function makeLanguageChangerSurvey($sSelectedLanguage)
{
$route.="/action/previewgroup/gid/".intval(Yii::app()->request->getParam('gid',0));
}
if (Yii::app()->request->getParam('token')!='')
{
$route.="/token/".Yii::app()->request->getParam('token');
}
$sHTMLCode = "<select id='languagechanger' name='languagechanger' class='languagechanger' onchange='javascript:window.location=this.value'>\n";
foreach ($slangs as $sLanguage)
{
Expand Down

0 comments on commit 25b92ef

Please sign in to comment.