Skip to content

Commit

Permalink
Fixed issue #10723: CSS Formatting Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 14, 2016
1 parent bf081ca commit 8c2938b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions application/controllers/PrintanswersController.php
Expand Up @@ -66,6 +66,11 @@ function actionView($surveyid,$printableexport=FALSE)
SetSurveyLanguage($iSurveyID, $sLanguage);
$aSurveyInfo = getSurveyInfo($iSurveyID,$sLanguage);
$oTemplate = Template::model()->getInstance(null, $iSurveyID);
if($oTemplate->cssFramework == 'bootstrap')
{
App()->bootstrap->register();
}


//Survey is not finished or don't exist
if (!isset($_SESSION['survey_'.$iSurveyID]['finished']) || !isset($_SESSION['survey_'.$iSurveyID]['srid']))
Expand Down

0 comments on commit 8c2938b

Please sign in to comment.