1
0
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:
Cesar G 2014-02-07 09:56:17 -08:00
parent 8987fc95f9
commit f05e0ec9eb

View File

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