Skip to content
Snippets Groups Projects
Commit 94c3948e authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Prevent TypeError for unsupported operand types

Since bitwise operators requires the operands to be
integers, a possible raw database value for a checkbox
element is now properly casted, before used as operand,
preventing a TypeError.

Note: PHP < 8, this only triggered a warning.

Resolves: #97194
Releases: main, 11.5
Change-Id: I40b53ba4eb11341792649516de2f3c6b86ae5a61
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73957


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 89999f8e
Branches
Tags
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