Skip to content
Snippets Groups Projects
Commit 894928dd authored by Ingo Fabbri's avatar Ingo Fabbri Committed by Christian Kuhn
Browse files

[BUGFIX] Avoid accessing null-row

With `fallbackType` set to strict, only translated content is rendered.

In AbstractMenuContentObject->sectionIndex content is fetched and
overlayed. Once there is an element untranslated, the record overlay
will return a $row = `null`.

To mitigate, move all left over access to $row inside
the guarded if-block.

Resolves: #98043
Releases: main, 11.5
Change-Id: If4baf0fb88292cb8c6814539cf7efa610ae850f3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76673


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 0ca57511
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