Skip to content

Commit

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

* We don't need to explicitly call this statically
  • Loading branch information
csthomas authored and Michael Babker committed Jan 3, 2018
1 parent cd1852c commit 05fd1d9
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 05fd1d9

Please sign in to comment.