Skip to content
Snippets Groups Projects
Commit 3cc948b1 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Prevent PHP warnings in PageRouter

In some situations, "_page" might not be set
in the Route. This patch prevents undefined
array key warnings and also makes the code
more readable.

Resolves: #97369
Releases: main, 11.5
Change-Id: I47920cdeb641b52577590d710d692a91fca7c383
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74295


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 0d04df7f
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment