Skip to content

Commit

Permalink
Fixed issue #13814: opening Question->Check logic will change admin i…
Browse files Browse the repository at this point in the history
…nterface language to question language
  • Loading branch information
dominikvitt committed Jun 28, 2018
1 parent 52add83 commit 7338e98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application/helpers/expressions/em_manager_helper.php
Expand Up @@ -9419,6 +9419,9 @@ static public function ShowSurveyLogicFile($sid, $gid=NULL, $qid=NULL,$LEMdebugL
'html'=>sprintf($LEM->gT('Invalid question - probably missing sub-questions or language-specific settings for language %s'),$_SESSION['LEMlang'])
);
}

/* return app language to adminlang, otherwise admin interface get rendered in survey language #13814 */
Yii::app()->setLanguage(Yii::app()->session["adminlang"]);

$surveyname = viewHelper::stripTagsEM(templatereplace('{SURVEYNAME}',array('SURVEYNAME'=>$aSurveyInfo['surveyls_title'])));

Expand Down

0 comments on commit 7338e98

Please sign in to comment.