diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-08 10:59:36 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-08 10:59:36 +0000 |
commit | 4306d4d083d50e9ef7ed01260aa95ea4ac453dee (patch) | |
tree | bd3b63b6a2c30c131790f6b7dd28edddb04589c1 /phpBB/includes/functions.php | |
parent | 0e7adebad6e61c066b52e5480d5aa36a23571388 (diff) | |
download | forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar.gz forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar.bz2 forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar.xz forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.zip |
- fix some smaller bugs
- removed custom profiles preview field from acp
git-svn-id: file:///svn/phpbb/trunk@6022 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index a9e3a59673..143fc3fd79 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1237,6 +1237,12 @@ function build_url($strip_vars = false) $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); + // Add delimiter if not there... + if (strpos($redirect, '?') === false) + { + $redirect .= '?'; + } + // Strip vars... if ($strip_vars !== false && strpos($redirect, '?') !== false) { |