1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 19:44:00 +02:00

Adminer: Fix Search data in tables

This commit is contained in:
Jakub Vrana
2018-01-19 10:46:35 +01:00
parent 187dd56b1c
commit 1b98a10100
3 changed files with 7 additions and 1 deletions

View File

@@ -495,6 +495,9 @@ class Adminer {
}
}
foreach ((array) $_GET["where"] as $val) {
if ($val["op"] == "") {
$val["op"] = "LIKE %%";
}
if ("$val[col]$val[val]" != "" && in_array($val["op"], $this->operators)) {
$cond = " $val[op]";
if (preg_match('~IN$~', $val["op"])) {