Skip to content

Commit

Permalink
Fixed issue #8876: Print answers shows fatal error if session expired
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Mar 19, 2014
1 parent 7f52709 commit 729bf4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/PrintanswersController.php
Expand Up @@ -81,7 +81,7 @@ function actionView($surveyid,$printableexport=FALSE)
echo "<center><br />\n"
."\t<font color='RED'><strong>".$clang->gT("Error")."</strong></font><br />\n"
."\t".$clang->gT("We are sorry but your session has expired.")."<br />".$clang->gT("Either you have been inactive for too long, you have cookies disabled for your browser, or there were problems with your connection.")."<br />\n"
."\t".sprintf($clang->gT("Please contact %s ( %s ) for further assistance."),$siteadminname,$siteadminemail)."\n"
."\t".sprintf($clang->gT("Please contact %s ( %s ) for further assistance."), Yii::app()->getConfig("siteadminname"), Yii::app()->getConfig("siteadminemail"))."\n"
."</center><br />\n";
echo templatereplace(file_get_contents(getTemplatePath($sTemplate).'/endpage.pstpl'),array());
doFooter();
Expand Down

0 comments on commit 729bf4c

Please sign in to comment.