Commit bd271d42 by Alexander Makarov

Removed passing unused parameter

parent 338bc86e
......@@ -292,7 +292,7 @@ class UrlManager extends Component
$params = (array)$params;
$url = $this->createUrl($params);
if (strpos($url, '://') === false) {
$url = $this->getHostInfo($schema) . $url;
$url = $this->getHostInfo() . $url;
}
if ($schema !== null && ($pos = strpos($url, '://')) !== false) {
$url = $schema . substr($url, $pos);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment