aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_module.php
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-01-06 22:38:18 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-01-06 22:38:18 +0000
commit0dfa526665b5f6e170af89681981eb4662095a2d (patch)
treec77f3cf65f8d5c311cf449a894761d17bbd6d86f /phpBB/includes/functions_module.php
parenta05d3c14d245fa50c4856829112c164eae09130b (diff)
downloadforums-0dfa526665b5f6e170af89681981eb4662095a2d.tar
forums-0dfa526665b5f6e170af89681981eb4662095a2d.tar.gz
forums-0dfa526665b5f6e170af89681981eb4662095a2d.tar.bz2
forums-0dfa526665b5f6e170af89681981eb4662095a2d.tar.xz
forums-0dfa526665b5f6e170af89681981eb4662095a2d.zip
Fixing a permissions issue where a user only has local moderator rights.
David - please test to make sure it works for you as well NB: There is still an outstanding issue on the queue module to be looked at later git-svn-id: file:///svn/phpbb/trunk@5432 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_module.php')
-rw-r--r--phpBB/includes/functions_module.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php
index b93aca2345..3932e4cdc8 100644
--- a/phpBB/includes/functions_module.php
+++ b/phpBB/includes/functions_module.php
@@ -251,8 +251,8 @@ class p_master
}
$is_auth = false;
- eval('$is_auth = (int) (' . preg_replace(array('#acl_([a-z_]+)(,\$id)?#e', '#\$id#', '#cfg_([a-z_]+)#e'), array('(int) $auth->acl_get("\\1"\\2)', '$this->acl_forup_id', '(int) $config["\\1"]'), trim($module_auth)) . ');');
-
+ eval('$is_auth = (int) (' . preg_replace(array('#acl_([a-z_]+)(,\$id)?#', '#\$id#', '#cfg_([a-z_]+)#'), array('(int) $auth->acl_get("\\1"\\2)', '(int) $this->acl_forup_id', '(int) $config["\\1"]'), trim($module_auth)) . ');');
+
return $is_auth;
}