aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/memberlist.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index af177da2e0..8fdb7f0a07 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -29,6 +29,12 @@ $username = request_var('un', '', true);
$group_id = request_var('g', 0);
$topic_id = request_var('t', 0);
+// Redirect when old mode is used
+if ($mode == 'leaders')
+{
+ redirect(append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=team'));
+}
+
// Check our mode...
if (!in_array($mode, array('', 'group', 'viewprofile', 'email', 'contact', 'searchuser', 'team')))
{