]> dev.renevier.net Git - syj.git/blobdiff - application/views/helpers/FooterLink.php
store lang preference in session instead of url
[syj.git] / application / views / helpers / FooterLink.php
index d108b8f270fb4dcb8b1fa0ae124838618a30bb20..0a2a4752a7ad0416ca5ece1aea1fc92ed8b99dc2 100644 (file)
@@ -11,7 +11,7 @@ class Syj_View_Helper_FooterLink extends Zend_View_Helper_Abstract
         } 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'));