Skip to content

Commit

Permalink
Merge branch '3.4-release'
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Nov 9, 2020
2 parents d8c3c16 + a3960ed commit e5f0e78
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ public function onKernelRequest(RequestEvent $event): void
return;
}

$siteAccess = $event->getRequest()->attributes->get('siteaccess')->name;
$request = $event->getRequest();
if (!$request->attributes->has('siteaccess')) {
return;
}

$siteAccess = $request->attributes->get('siteaccess')->name;
if (!isset($this->groupsBySiteAccess[$siteAccess])) {
return;
}
Expand Down
5 changes: 5 additions & 0 deletions doc/changelogs/CHANGELOG-3.x.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Netgen Tags Bundle 3.x changelog
================================

3.4.8 (09.11.2020)
------------------

* Make sure siteaccess exists in request before using it in `SetPageLayoutListener`

3.4.7 (06.11.2020)
------------------

Expand Down
5 changes: 5 additions & 0 deletions doc/changelogs/CHANGELOG-4.x.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Netgen Tags Bundle 4.x changelog
================================

4.0.5 (09.11.2020)
------------------

* Make sure siteaccess exists in request before using it in `SetPageLayoutListener`

4.0.4 (06.11.2020)
------------------

Expand Down

0 comments on commit e5f0e78

Please sign in to comment.