mirror of
https://github.com/vrana/adminer.git
synced 2025-08-20 05:11:25 +02:00
Respect 'whole result' even if some rows are checked (bug #339)
This commit is contained in:
@@ -46,7 +46,7 @@ if ($_GET["val"] && is_ajax()) {
|
||||
|
||||
if ($_POST && !$error) {
|
||||
$where_check = $where;
|
||||
if (is_array($_POST["check"])) {
|
||||
if (!$_POST["all"] && is_array($_POST["check"])) {
|
||||
$where_check[] = "((" . implode(") OR (", array_map('where_check', $_POST["check"])) . "))";
|
||||
}
|
||||
$where_check = ($where_check ? "\nWHERE " . implode(" AND ", $where_check) : "");
|
||||
|
Reference in New Issue
Block a user