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

Pass operator from db.inc.php

This commit is contained in:
Jakub Vrana
2018-02-06 13:48:56 +01:00
parent d7f9b6b5de
commit f09a04ed09
2 changed files with 1 additions and 3 deletions

View File

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