Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Apply unconvert_field() in clone and multi-edit

  • Loading branch information...
commit 4c5667b93ff1becd1d029809d8aab89a00a46139 1 parent 7da82a1
@vrana authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 adminer/select.inc.php
View
6 adminer/select.inc.php
@@ -52,7 +52,11 @@
if ($_POST && !$error) {
$where_check = $where;
if (!$_POST["all"] && is_array($_POST["check"])) {
- $where_check[] = "((" . implode(") OR (", array_map('where_check', $_POST["check"])) . "))";
+ $checks = array();
+ foreach ($_POST["check"] as $check) {
+ $checks[] = where_check($check, $fields);
+ }
+ $where_check[] = "((" . implode(") OR (", $checks) . "))";
}
$where_check = ($where_check ? "\nWHERE " . implode(" AND ", $where_check) : "");
$primary = $unselected = null;
Please sign in to comment.
Something went wrong with that request. Please try again.