From b33ec670a29299aafca4f591226b57268b6ad615 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Mon, 4 Feb 2008 12:14:03 +0000 Subject: [PATCH] Minor stuff: #20925, #20815 git-svn-id: file:///svn/phpbb/trunk@8376 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/style/acp_forums.html | 2 +- phpBB/includes/session.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 @@ {ICON_MOVE_UP_DISABLED} {ICON_MOVE_DOWN} - + {ICON_MOVE_UP} {ICON_MOVE_DOWN} diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 28dee7e0ad..d0c8c3abe6 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' : '';