diff --git a/application/helpers/admin/statistics_helper.php b/application/helpers/admin/statistics_helper.php index 20762fc124e..69c1030e810 100644 --- a/application/helpers/admin/statistics_helper.php +++ b/application/helpers/admin/statistics_helper.php @@ -3719,6 +3719,8 @@ public function generate_html_chartjs_statistics($surveyid, $allfields, $q2show //add filter criteria to SQL $query .= implode(" AND ", $selects); + } else { + unset(Yii::app()->session['statistics_selects_'.$surveyid]); } //get me some data Scotty