summaryrefslogtreecommitdiffstats
path: root/application/controllers/StatsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/StatsController.php')
-rw-r--r--application/controllers/StatsController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/controllers/StatsController.php b/application/controllers/StatsController.php
index 253c843..fbe6b88 100644
--- a/application/controllers/StatsController.php
+++ b/application/controllers/StatsController.php
@@ -16,10 +16,12 @@ class StatsController extends Zend_Controller_Action
if($userIDsNamespace['groupID'] !=''){
header("Content-Type: image/png");
$n = new Pbs_Graph();
+
$level = $this->_request->getParam('level');
if(is_numeric($level) && $level != ''){
$n->setHiglightLevel($level);
}
+
$str = $n->graph($userIDsNamespace['groupID']);
echo $str;
}