- $href = $this->view->addParamToUrl('logout', 'redirect', $currentUri, true);
- return $this->view->anchor($href, $translatedString, array('id' => 'logout', 'class' => 'login-anchor'));
+ $href = $this->view->addParamToUrl('logout', 'redirect', $encodeduri, true);
+ return $this->view->anchor($href, $translatedString, array('id' => 'logout', 'class' => 'menu-item'));