aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-11-19 16:16:52 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-11-19 16:16:52 +0000
commit318e561cb2a2698aed9fc2fff34e648deebb0676 (patch)
treec4dd2699911c16682a37c21f9cbcdeb7a68724a3 /phpBB/mcp.php
parent68e80ad2df4b119c4528f200640ba507259d2bdb (diff)
downloadforums-318e561cb2a2698aed9fc2fff34e648deebb0676.tar
forums-318e561cb2a2698aed9fc2fff34e648deebb0676.tar.gz
forums-318e561cb2a2698aed9fc2fff34e648deebb0676.tar.bz2
forums-318e561cb2a2698aed9fc2fff34e648deebb0676.tar.xz
forums-318e561cb2a2698aed9fc2fff34e648deebb0676.zip
- use acl_m_ instead of acl_m
- some reference fixes git-svn-id: file:///svn/phpbb/trunk@5307 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index de84f6de89..95f87c02a7 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -29,20 +29,21 @@ $user->setup('mcp');
$module = new p_master();
// Basic parameter data
-$mode = request_var('mode', '');
-$mode2 = (isset($_REQUEST['quick'])) ? request_var('mode2', '') : '';
$id = request_var('i', '');
-if (is_array($mode))
+if (is_array($_REQUEST['mode']))
{
- list($mode, ) = each($mode);
+ list($mode, ) = each(request_var('mode', array(''));
+}
+else
+{
+ $mode = request_var('mode', '');
}
-if ($mode2)
+if (isset($_REQUEST['quick']))
{
- $mode = $mode2;
+ $mode = request_var('mode2', '');
$action = '';
- unset($mode2);
}
// Make sure we are using the correct module