Skip to content

Commit

Permalink
Revert "Fix parser error in plugin languagefilter on php5 (joomla#19268
Browse files Browse the repository at this point in the history
…)"

This reverts commit 05fd1d9.
  • Loading branch information
Tomasz Narloch committed Jan 31, 2018
1 parent 2ac0d43 commit f2d4ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/system/languagefilter/languagefilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ public function onUserLogin($user, $options = array())
$uri = new JUri($this->app->getUserState('users.login.form.return'));

// Get Itemid from SEF or home page
$query = $this->app->getRouter()->parse($uri);
$query = $this->app::getRouter()->parse($uri);

// Check, if the login form contains a menu item redirection.
if (!empty($query['Itemid']))
Expand Down

0 comments on commit f2d4ae1

Please sign in to comment.