aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.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/mcp.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/mcp.php')
-rw-r--r--phpBB/mcp.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index cbb8b4a4a1..04b4da545d 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -143,6 +143,11 @@ if (!$quickmod)
$forum_id = $forum_list[0];
}
+ if($forum_id)
+ {
+ $module->acl_forup_id = $forum_id;
+ }
+
// Instantiate module system and generate list of available modules
$module->list_modules('mcp');