Skip to content

Commit

Permalink
Fixed issue #10688: No charts in public statistic
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Mar 7, 2016
1 parent d4f2a2a commit 90ca87f
Show file tree
Hide file tree
Showing 2 changed files with 3,344 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/Statistics_userController.php
Expand Up @@ -45,7 +45,7 @@ function actionAction($surveyid,$language=null)
$iSurveyID=(int)$surveyid;
//$postlang = returnglobal('lang');
Yii::import('application.libraries.admin.progressbar',true);
Yii::app()->loadHelper("admin/statistics");
Yii::app()->loadHelper("userstatistics");
Yii::app()->loadHelper('database');
Yii::app()->loadHelper('surveytranslator');
App()->getClientScript()->registerPackage('jqueryui');
Expand Down Expand Up @@ -416,7 +416,7 @@ function actionAction($surveyid,$language=null)

} // end foreach -> loop through all questions

$helper = new statistics_helper();
$helper = new userstatistics_helper();
$statisticsoutput .= $helper->generate_statistics($iSurveyID, $summary, $summary, $publicgraphs, 'html', null,$sLanguage,false);

} //end if -> show summary results
Expand Down

0 comments on commit 90ca87f

Please sign in to comment.