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, 1 insertions, 1 deletions
diff --git a/application/controllers/StatsController.php b/application/controllers/StatsController.php
index fbe6b88..a54c528 100644
--- a/application/controllers/StatsController.php
+++ b/application/controllers/StatsController.php
@@ -13,7 +13,7 @@ class StatsController extends Zend_Controller_Action
$userIDsNamespace = Zend_Session::namespaceGet('userIDs');
- if($userIDsNamespace['groupID'] !=''){
+ if(isset($userIDsNamespace['groupID'])){
header("Content-Type: image/png");
$n = new Pbs_Graph();