mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 19:40:23 +02:00
[ticket/11508] Do not add the '?' unless there are parameters.
PHPBB3-11508
This commit is contained in:
@@ -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) : '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user