aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-09-22 18:21:58 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-09-22 18:21:58 +0000
commitcbb286420fe5cd82687df99a7f146ffc39408dc7 (patch)
tree018a68d765bb2ded31a8f8bc667d65183eb4ac1f /phpBB/includes/functions.php
parentd45df55af33046d793230221039222556827d46d (diff)
downloadforums-cbb286420fe5cd82687df99a7f146ffc39408dc7.tar
forums-cbb286420fe5cd82687df99a7f146ffc39408dc7.tar.gz
forums-cbb286420fe5cd82687df99a7f146ffc39408dc7.tar.bz2
forums-cbb286420fe5cd82687df99a7f146ffc39408dc7.tar.xz
forums-cbb286420fe5cd82687df99a7f146ffc39408dc7.zip
#i61
git-svn-id: file:///svn/phpbb/trunk@8098 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index cb2631d7b5..4155103eef 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1883,8 +1883,7 @@ function build_url($strip_vars = false)
global $user, $phpbb_root_path;
// Append SID
- $redirect = (($user->page['page_dir']) ? $user->page['page_dir'] . '/' : '') . $user->page['page_name'] . (($user->page['query_string']) ? "?{$user->page['query_string']}" : '');
- $redirect = append_sid($redirect, false, false);
+ $redirect = append_sid($user->page['page'], false, false);
// Add delimiter if not there...
if (strpos($redirect, '?') === false)