Adminer: Fix Search data in tables
This commit is contained in:
parent
187dd56b1c
commit
1b98a10100
|
@ -495,6 +495,9 @@ class Adminer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach ((array) $_GET["where"] as $val) {
|
foreach ((array) $_GET["where"] as $val) {
|
||||||
|
if ($val["op"] == "") {
|
||||||
|
$val["op"] = "LIKE %%";
|
||||||
|
}
|
||||||
if ("$val[col]$val[val]" != "" && in_array($val["op"], $this->operators)) {
|
if ("$val[col]$val[val]" != "" && in_array($val["op"], $this->operators)) {
|
||||||
$cond = " $val[op]";
|
$cond = " $val[op]";
|
||||||
if (preg_match('~IN$~', $val["op"])) {
|
if (preg_match('~IN$~', $val["op"])) {
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
<?php
|
<?php
|
||||||
$VERSION = "4.4.0";
|
$VERSION = "4.4.1-dev";
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
Adminer 4.4.1-dev:
|
||||||
|
Adminer: Fix Search data in tables (regression from 4.4.0)
|
||||||
|
|
||||||
Adminer 4.4.0 (released 2018-01-17):
|
Adminer 4.4.0 (released 2018-01-17):
|
||||||
Add Content Security Policy
|
Add Content Security Policy
|
||||||
Disallow scripts without nonce
|
Disallow scripts without nonce
|
||||||
|
|
Loading…
Reference in a new issue