Skip to content
Snippets Groups Projects
Commit 5159a4cc authored by Philipp Kitzberger's avatar Philipp Kitzberger Committed by Christian Kuhn
Browse files

[BUGFIX] Avoid undefined array key 'casesensitiveComp'

Resolves: #96537
Releases: main, 12.4, 11.5
Change-Id: I0b2b4dbf47d58f21df8ffb3d91a889c22b092280
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81047


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent a54af8db
Branches
Tags
No related merge requests found
...@@ -541,7 +541,7 @@ class HtmlParser ...@@ -541,7 +541,7 @@ class HtmlParser
$tagAttrib[0][$attr] = $params['list'][0]; $tagAttrib[0][$attr] = $params['list'][0];
} }
} else { } else {
if (!in_array($this->caseShift($tagAttrib[0][$attr] ?? '', $params['casesensitiveComp'] ?? false), (array)$this->caseShift($params['list'], $params['casesensitiveComp'], $tagName))) { if (!in_array($this->caseShift($tagAttrib[0][$attr] ?? '', $params['casesensitiveComp'] ?? false), (array)$this->caseShift($params['list'], $params['casesensitiveComp'] ?? false, $tagName))) {
$tagAttrib[0][$attr] = $params['list'][0]; $tagAttrib[0][$attr] = $params['list'][0];
} }
} }
......
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