Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Fix the 'current() expects parameter 1 to be array' issue (see #6739)
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Jan 20, 2015
1 parent 5214ae4 commit 8a36af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contao/classes/Frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public static function getPageIdFromUrl()
}
else
{
$arrLangs = $arrPages['*']; // Empty domain
$arrLangs = $arrPages['*'] ?: array(); // empty domain
}

$arrAliases = array();
Expand Down

0 comments on commit 8a36af3

Please sign in to comment.