From ac03e946c045ade95fe00849ebf0b5c05b61d900 Mon Sep 17 00:00:00 2001
From: Dominik Mueller <info@profi-webdesign.net>
Date: Wed, 26 Feb 2014 19:35:46 +0100
Subject: [PATCH] fixed wrong group-query

---
 interface/lib/classes/quota_lib.inc.php | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/interface/lib/classes/quota_lib.inc.php b/interface/lib/classes/quota_lib.inc.php
index 1031cdcc94..85e4027e04 100644
--- a/interface/lib/classes/quota_lib.inc.php
+++ b/interface/lib/classes/quota_lib.inc.php
@@ -110,9 +110,6 @@ class quota_lib {
 			}
 		}
 		//print_r($monitor_data);
-		if($_SESSION["s"]["user"]["typ"] != 'admin'){
-			$sql_where = " AND sys_groupid = ".intval($_SESSION['s']['user']['default_group']);
-		}
 		
 		if($groupid != null){
 			$sql_where = " AND sys_groupid = ".$groupid;
-- 
GitLab