Skip to content
Snippets Groups Projects
Commit 62bd49ec authored by Nikita Hovratov's avatar Nikita Hovratov Committed by Christian Kuhn
Browse files

[TASK] Fix undefined array key warning in free mode

$rowsByLang[0] is not set, if editing a content element without a
language source. A check for existence is added to prevent warnings in
PHP 8.

Resolves: #95059
Releases: master
Change-Id: I200175d4127d8925973022c6b3eed86ce1f575b9
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70846


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 462b2d2d
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