aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_module.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-01-14 20:35:52 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-01-14 20:35:52 +0000
commit49b29c03ce8d00b207e91456be91a255a9730594 (patch)
tree1909f4178f4cc0a8ca432bce5c5f80fa05c137e3 /phpBB/includes/functions_module.php
parentd4c38d09b5b3193230114d409d597a2984fbdf38 (diff)
downloadforums-49b29c03ce8d00b207e91456be91a255a9730594.tar
forums-49b29c03ce8d00b207e91456be91a255a9730594.tar.gz
forums-49b29c03ce8d00b207e91456be91a255a9730594.tar.bz2
forums-49b29c03ce8d00b207e91456be91a255a9730594.tar.xz
forums-49b29c03ce8d00b207e91456be91a255a9730594.zip
Rats! Out of Bug Spray... Still have a handy can of Superfluous Function-call Be-gone!
// TODO: Pick up more Bug Spray! git-svn-id: file:///svn/phpbb/trunk@5459 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_module.php')
-rw-r--r--phpBB/includes/functions_module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php
index 3932e4cdc8..ffe3b2c262 100644
--- a/phpBB/includes/functions_module.php
+++ b/phpBB/includes/functions_module.php
@@ -251,7 +251,7 @@ class p_master
}
$is_auth = false;
- 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)) . ');');
+ 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"]'), $module_auth) . ');');
return $is_auth;
}