From 9c9382e6949e1366c6adb502b7aacae2c11023f7 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 08 Sep 2011 09:42:04 -0400 Subject: [PATCH] Fixed: FS#1709 - Wrong message "Your hard-disk space is going full" in the "Monitor -> Show Disk Usage" --- interface/web/admin/groups_list.php | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/interface/web/admin/groups_list.php b/interface/web/admin/groups_list.php index 3545f04..f75f5de 100644 --- a/interface/web/admin/groups_list.php +++ b/interface/web/admin/groups_list.php @@ -41,11 +41,8 @@ * End Form configuration ******************************************/ -// Checking module permissions -if(!stristr($_SESSION["s"]["user"]["modules"],$_SESSION["s"]["module"]["name"])) { - header("Location: ../index.php"); - exit; -} +//* Check permissions for module +$app->auth->check_module_permissions('admin'); $app->uses('listform_actions'); $app->listform_actions->onLoad(); -- Gitblit v1.9.1