Skip to content

Commit

Permalink
[BUGFIX] Avoid undefined array key 'casesensitiveComp'
Browse files Browse the repository at this point in the history
Resolves: #96537
Releases: main, 12.4, 11.5
Change-Id: I0b2b4dbf47d58f21df8ffb3d91a889c22b092280
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81048
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
  • Loading branch information
Philipp Kitzberger authored and lolli42 committed Sep 18, 2023
1 parent 349f202 commit 634d4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typo3/sysext/core/Classes/Html/HtmlParser.php
Expand Up @@ -539,7 +539,7 @@ public function HTMLcleaner($content, $tags = [], $keepAll = 0, $hSC = 0, $addCo
$tagAttrib[0][$attr] = $params['list'][0];
}
} 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];
}
}
Expand Down

0 comments on commit 634d4ed

Please sign in to comment.