X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;ds=sidebyside;f=application%2Fviews%2Fhelpers%2FLocaleSwitcher.php;h=2f4237b958c5f82685d0f22a01f70e7516dd3a7b;hb=ac9d01aaea19ae2de146b98a1a2fea91d8e98754;hp=f5b9042f94ee43f7f780eb44c8c0e2896bd68cba;hpb=627f937d7241dc4b9311759fa446c3738d05f5a9;p=syj.git diff --git a/application/views/helpers/LocaleSwitcher.php b/application/views/helpers/LocaleSwitcher.php index f5b9042..2f4237b 100644 --- a/application/views/helpers/LocaleSwitcher.php +++ b/application/views/helpers/LocaleSwitcher.php @@ -1,5 +1,5 @@ getList(); $current = $translator->getLocale(); - $requestUri = $this->view->UriPath(); + $requestUri = Zend_Controller_Front::getInstance()->getRequest()->getRequestUri(); $links = array(); foreach ($availables as $lang) {