Skip to content

Commit

Permalink
[BUGFIX] Avoid undefined array key in TextMenuContentObject->writeMenu()
Browse files Browse the repository at this point in the history
Resolves: #96377
Releases: main, 11.5
Change-Id: I98dfe39cf04468d54ee979afa34e7dd3bd40acf6
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72793
Tested-by: core-ci <typo3@b13.com>
Tested-by: Jochen <rothjochen@gmail.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Jochen <rothjochen@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
  • Loading branch information
brotkrueml authored and bmack committed Dec 23, 2021
1 parent 93e1f9e commit f8d021c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -111,7 +111,7 @@ public function writeMenu()
}
// ATagBeforeWrap processing:
if ($this->I['val']['ATagBeforeWrap'] ?? false) {
$wrapPartsBefore = explode('|', $this->I['val']['linkWrap']);
$wrapPartsBefore = explode('|', $this->I['val']['linkWrap'] ?? '');
$wrapPartsAfter = ['', ''];
} else {
$wrapPartsBefore = ['', ''];
Expand Down

0 comments on commit f8d021c

Please sign in to comment.