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"])) {

View file

@ -1,2 +1,2 @@
<?php
$VERSION = "4.4.0";
$VERSION = "4.4.1-dev";

View file

@ -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):
Add Content Security Policy
Disallow scripts without nonce