mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 07:08:09 +01:00
[ticket/11508] Do not add the '?' unless there are parameters.
PHPBB3-11508
This commit is contained in:
parent
8987fc95f9
commit
f05e0ec9eb
@ -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…
x
Reference in New Issue
Block a user