X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fviews%2Fhelpers%2FLogoutLink.php;h=e69fc9749be2353853ac726db8deadf0171dd81c;hb=1f6105289a49079809c2a4677b561bc82c62db88;hp=146276e9d2da6cf7738e4ac732ec869cb701ca50;hpb=f0cec87e660f4c34740d6a8c6256f534c67bb8b1;p=syj.git diff --git a/application/views/helpers/LogoutLink.php b/application/views/helpers/LogoutLink.php index 146276e..e69fc97 100644 --- a/application/views/helpers/LogoutLink.php +++ b/application/views/helpers/LogoutLink.php @@ -1,12 +1,11 @@ getRequest()->getRequestUri(); - $encodeduri = implode('/', array_map('urlencode', explode('/', $currentUri))); + $encodeduri = $this->view->UriPath(true); $translatedString = $this->view->translate('logout'); $href = $this->view->addParamToUrl('logout', 'redirect', $encodeduri, true); return $this->view->anchor($href, $translatedString, array('id' => 'logout', 'class' => 'menu-item'));