aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/admin/admin_forumauth.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/admin/admin_forumauth.php b/phpBB/admin/admin_forumauth.php
index 19c8eb12e4..abdb92cd05 100644
--- a/phpBB/admin/admin_forumauth.php
+++ b/phpBB/admin/admin_forumauth.php
@@ -316,8 +316,8 @@ else
}
}
- $switch_mode = append_sid("admin_forumauth.$phpEx?" . POST_FORUM_URL . "=" . $forum_id . "&adv=");
- $switch_mode .= ( empty($adv) ) ? "1" : "0";
+ $adv_mode = (empty($adv)) ? "1" : "0";
+ $switch_mode = append_sid("admin_forumauth.$phpEx?" . POST_FORUM_URL . "=" . $forum_id . "&adv=". $adv_mode);
$switch_mode_text = ( empty($adv) ) ? $lang['Advanced_mode'] : $lang['Simple_mode'];
$u_switch_mode = '<a href="' . $switch_mode . '">' . $switch_mode_text . '</a>';
@@ -346,4 +346,4 @@ $template->pparse("body");
include('page_footer_admin.'.$phpEx);
-?> \ No newline at end of file
+?>