You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-23 18:29:15 +03:00
Pull-request: #20398 Fixes: #20395 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
@@ -158,7 +158,7 @@ final class Search
|
||||
// (like INT), for a LIKE we always quote the value. MySQL converts
|
||||
// strings to numbers and numbers to strings as necessary
|
||||
// during the comparison
|
||||
$needsQuoting = preg_match('@char|binary|blob|text|set|date|time|year|uuid@i', $types) === 1
|
||||
$needsQuoting = preg_match('@char|binary|blob|inet4|text|set|date|time|year|uuid@i', $types) === 1
|
||||
|| str_contains($funcType, 'LIKE');
|
||||
|
||||
// LIKE %...%
|
||||
|
||||
Reference in New Issue
Block a user