This commit is contained in:
Faissal Wahabali 2026-06-15 16:19:49 +02:00 committed by GitHub
commit 328db3b673
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -167,7 +167,10 @@ final class Search
// strings to numbers and numbers to strings as necessary
// during the comparison
if (
preg_match('@char|binary|blob|text|set|date|time|year|uuid@i', $types)
(
preg_match('@char|binary|blob|text|set|date|time|year|uuid@i', $types)
&& !str_starts_with($criteriaValues, '0x')
)
|| mb_strpos(' ' . $func_type, 'LIKE')
) {
$quot = '\'';