diff options
-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) : ''); } } |