From 604c0c24ba44720e052b536abb1ae992eb0ee292 Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Tue, 19 Nov 2013 08:50:24 -0500 Subject: [PATCH] Code review. --- interface/web/dashboard/dashlets/quota.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/dashboard/dashlets/quota.php b/interface/web/dashboard/dashlets/quota.php index 1cb5671..d0d68fd 100644 --- a/interface/web/dashboard/dashlets/quota.php +++ b/interface/web/dashboard/dashlets/quota.php @@ -25,7 +25,7 @@ } //print_r($monitor_data); if($_SESSION["s"]["user"]["typ"] != 'admin'){ - $sql_where = " AND sys_groupid = ".$_SESSION['s']['user']['default_group']; + $sql_where = " AND sys_groupid = ".$app->functions->intval($_SESSION['s']['user']['default_group']); } $has_quota = false; -- Gitblit v1.9.1