aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_permissions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-22 15:14:03 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-22 15:14:03 +0000
commit725b21f2d206efb4b34eb95ec3329bc81f66b805 (patch)
tree7de41ee058c21e1884bc5d2292f5e7014a587890 /phpBB/includes/acp/acp_permissions.php
parentdaa0435614af7bed95e71f3b11aa2c372df3958d (diff)
downloadforums-725b21f2d206efb4b34eb95ec3329bc81f66b805.tar
forums-725b21f2d206efb4b34eb95ec3329bc81f66b805.tar.gz
forums-725b21f2d206efb4b34eb95ec3329bc81f66b805.tar.bz2
forums-725b21f2d206efb4b34eb95ec3329bc81f66b805.tar.xz
forums-725b21f2d206efb4b34eb95ec3329bc81f66b805.zip
time to squash some bugs
git-svn-id: file:///svn/phpbb/trunk@6114 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_permissions.php')
-rw-r--r--phpBB/includes/acp/acp_permissions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_permissions.php b/phpBB/includes/acp/acp_permissions.php
index 5505794999..04766eccab 100644
--- a/phpBB/includes/acp/acp_permissions.php
+++ b/phpBB/includes/acp/acp_permissions.php
@@ -213,7 +213,10 @@ class acp_permissions
switch ($action)
{
case 'delete':
- $this->remove_permissions($mode, $permission_type, $auth_admin, $user_id, $group_id, $forum_id);
+ if (sizeof($user_id) || sizeof($group_id))
+ {
+ $this->remove_permissions($mode, $permission_type, $auth_admin, $user_id, $group_id, $forum_id);
+ }
break;
case 'apply_permissions':