Skip to content

Commit

Permalink
Fixed 500 error in the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszbieniek committed Dec 9, 2019
1 parent 67c70ff commit a28ec01
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,11 @@ public function onMenuConfigure(ConfigureMenuEvent $event)

foreach ($siteaccesses as $siteaccess) {
try {
if (!$location) {
continue;
}
$currentLocation = $this->resolveLocation($siteaccess, $location);
if(!$currentLocation) {
if (!$currentLocation) {
continue;
}
} catch (\Exception $e) {
Expand Down

0 comments on commit a28ec01

Please sign in to comment.