mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11508] Do not add the '?' unless there are parameters.
PHPBB3-11508
This commit is contained in:
parent
8987fc95f9
commit
f05e0ec9eb
1 changed files with 1 additions and 1 deletions
|
@ -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) : '');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue