@@ -48,7 +48,7 @@ |
||
| 48 | 48 | public function setHref($href) |
| 49 | 49 | { |
| 50 | 50 | if (StringHelper::startsWith($href, '//')) { |
| 51 | - $this->_href = Url::base(true) . str_replace('//', '/', $href); |
|
| 51 | + $this->_href = Url::base(true).str_replace('//', '/', $href); |
|
| 52 | 52 | } elseif (StringHelper::startsWith($href, '#')) { |
| 53 | 53 | // When an anchor link is given, do not modify the link. This can be usefull for one pagers |
| 54 | 54 | $this->_href = $href; |