Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Nov 18, 2016
1 parent 44fb268 commit d306211
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/system/languagefilter/languagefilter.php
Expand Up @@ -650,9 +650,10 @@ public function onUserLogin($user, $options = array())
}
elseif (isset($associations[$lang_code]) && $menu->getItem($associations[$lang_code]))
{
// The login form does not contain a menu item redirection.
// The active menu item has associations.
// We redirect to the user preferred site language associated page.
/* The login form does not contain a menu item redirection.
The active menu item has associations.
We redirect to the user preferred site language associated page.
*/
$associationItemid = $associations[$lang_code];
$this->app->setUserState('users.login.form.return', 'index.php?Itemid=' . $associationItemid);
$foundAssociation = true;
Expand Down

0 comments on commit d306211

Please sign in to comment.