diff options
author | Git <git@what.cd> | 2015-12-20 08:00:27 +0000 |
---|---|---|
committer | Git <git@what.cd> | 2015-12-20 08:00:27 +0000 |
commit | fedceabba7526e37aaf0344657b542c0da6b15db (patch) | |
tree | 5a73453fa077570c4acb7ce6c781d2beb7e32f5c | |
parent | 8eaadadc2a1da64a34ae6ff24d103f40da6288ba (diff) | |
download | Gazelle-fedceabba7526e37aaf0344657b542c0da6b15db.zip Gazelle-fedceabba7526e37aaf0344657b542c0da6b15db.tar.gz Gazelle-fedceabba7526e37aaf0344657b542c0da6b15db.tar.bz2 |
Empty commit
-rw-r--r-- | sections/tools/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sections/tools/index.php b/sections/tools/index.php index e2dabbf..a6b9684 100644 --- a/sections/tools/index.php +++ b/sections/tools/index.php @@ -227,7 +227,7 @@ switch ($_REQUEST['action']) { GROUP BY p.ID"); list($ID, $Name, $Level, $Secondary, $Forums, $Values, $DisplayStaff, $UserCount) = $DB->next_record(MYSQLI_NUM, array(5)); - if ($Level > $LoggedUser['EffectiveClass'] || $_REQUEST['level'] > $LoggedUser['EffectiveClass']) { + if (!check_perms('admin_manage_permissions', $Level)) { error(403); } $Values = unserialize($Values); |