Skip to content

Commit

Permalink
Dev: fixed die part from last commit, sorry
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Nov 19, 2012
1 parent 3922d5b commit 4be7342
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion application/controllers/PrintanswersController.php
Expand Up @@ -66,7 +66,6 @@ function actionView($surveyid,$printableexport=FALSE)
$surveyid=0;
$language = Yii::app()->getConfig("defaultlang");
}
die($surveyid);
$clang = SetSurveyLanguage($surveyid, $language);
$thissurvey = getSurveyInfo($surveyid,$language);
//SET THE TEMPLATE DIRECTORY
Expand Down
1 change: 1 addition & 0 deletions application/helpers/replacements_helper.php
Expand Up @@ -95,6 +95,7 @@ function templatereplace($line, $replacements = array(), &$redata = array(), $de
if (!isset($showxquestions)) { $showxquestions = Yii::app()->getConfig('showxquestions'); }
if (!isset($s_lang)) { $s_lang = (isset(Yii::app()->session['survey_'.$_surveyid]['s_lang']) ? Yii::app()->session['survey_'.$_surveyid]['s_lang'] : 'en'); }
if (!isset($captchapath)) { $captchapath = ''; }
if (!isset($sitename)) { $sitename=Yii::app()->getConfig('sitename'); }

$clang = Yii::app()->lang;

Expand Down

0 comments on commit 4be7342

Please sign in to comment.