Skip to content
Snippets Groups Projects
Commit 2f312e2c authored by Volker Diels-Grabsch's avatar Volker Diels-Grabsch Committed by Georg Ringer
Browse files

[BUGFIX] Do not perform string-with-boolean comparisons in switch cases

This commit fixes a string-with-boolean comparison in a switch case.
Instead, this complex case is moved down to the default case where all
other complex cases are handled as well.

Resolves: #90992
Related: #89857
Related: #72053
Releases: master, 9.5
Change-Id: I43730176e1a46a2bc63ea4d45bcf4511c1970aab
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64113


Tested-by: default avatarJonas Eberle <flightvision@googlemail.com>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Reviewed-by: default avatarJonas Eberle <flightvision@googlemail.com>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 00d15c21
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