diff options
| author | michael pereira | 2011-03-30 17:24:24 +0200 |
|---|---|---|
| committer | michael pereira | 2011-03-30 17:24:24 +0200 |
| commit | 190a9778cce8b059865d9535085a1f9e6166050a (patch) | |
| tree | acea7fdc8b5b7dde22b47828e2560d6af720591c /application/controllers/StatsController.php | |
| parent | Bootos & Bootiso (diff) | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-190a9778cce8b059865d9535085a1f9e6166050a.tar.gz pbs2-190a9778cce8b059865d9535085a1f9e6166050a.tar.xz pbs2-190a9778cce8b059865d9535085a1f9e6166050a.zip | |
fix user layout
Diffstat (limited to 'application/controllers/StatsController.php')
| -rw-r--r-- | application/controllers/StatsController.php | 2 |
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; } |
