diff options
-rw-r--r-- | phpBB/adm/style/acp_forums.html | 2 | ||||
-rw-r--r-- | phpBB/includes/session.php | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/adm/style/acp_forums.html b/phpBB/adm/style/acp_forums.html index 0a8c9b4c8a..e4662d9280 100644 --- a/phpBB/adm/style/acp_forums.html +++ b/phpBB/adm/style/acp_forums.html @@ -450,7 +450,7 @@ <!-- IF forums.S_FIRST_ROW && not forums.S_LAST_ROW --> {ICON_MOVE_UP_DISABLED} <a href="{forums.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> - <!-- ELSEIF not forums.S_FIRST_ROW && not forums.S_LAST_ROW--> + <!-- ELSEIF not forums.S_FIRST_ROW && not forums.S_LAST_ROW --> <a href="{forums.U_MOVE_UP}">{ICON_MOVE_UP}</a> <a href="{forums.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> <!-- ELSEIF forums.S_LAST_ROW && not forums.S_FIRST_ROW --> diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 0a80f32933..affd447787 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -179,6 +179,10 @@ class session } } } + else + { + $this->forwarded_for = ''; + } // Add forum to the page for tracking online users - also adding a "x" to the end to properly identify the number $this->page['page'] .= (isset($_REQUEST['f'])) ? ((strpos($this->page['page'], '?') !== false) ? '&' : '?') . '_f_=' . (int) $_REQUEST['f'] . 'x' : ''; |