mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-06 14:35:56 +02: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;
|
$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