diff options
author | Cesar G <prototech91@gmail.com> | 2014-02-07 09:56:17 -0800 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2014-04-22 15:21:02 -0700 |
commit | f05e0ec9eb30bdfdc4cf4b0355c8da7c40d6a6f1 (patch) | |
tree | 4f0cdbb7ab148678d07e2b4913e2aaa68471afa0 | |
parent | 8987fc95f97e2e64915fcbe809a7e14051b8a328 (diff) | |
download | forums-f05e0ec9eb30bdfdc4cf4b0355c8da7c40d6a6f1.tar forums-f05e0ec9eb30bdfdc4cf4b0355c8da7c40d6a6f1.tar.gz forums-f05e0ec9eb30bdfdc4cf4b0355c8da7c40d6a6f1.tar.bz2 forums-f05e0ec9eb30bdfdc4cf4b0355c8da7c40d6a6f1.tar.xz forums-f05e0ec9eb30bdfdc4cf4b0355c8da7c40d6a6f1.zip |
[ticket/11508] Do not add the '?' unless there are parameters.
PHPBB3-11508
-rw-r--r-- | phpBB/phpbb/path_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/path_helper.php b/phpBB/phpbb/path_helper.php index b4e7836640..ac671fc400 100644 --- a/phpBB/phpbb/path_helper.php +++ b/phpBB/phpbb/path_helper.php @@ -330,6 +330,6 @@ class path_helper $params['sid'] = $sid; } - return $url_parts['base'] . '?' . $this->glue_url_params($params); + return $url_parts['base'] . (($params) ? '?' . $this->glue_url_params($params) : ''); } } |