} else {
$href = $page->getHRef();
if ($redirect) {
- $currentUri = $this->view->url();
+ $currentUri = $this->view->UriPath(true);
$href = $this->view->addParamToUrl($href, 'redirect', $currentUri, true);
}
$link = $this->view->anchor($href, $text, array('class' => 'footer-anchor'));