mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 11:34:10 +02:00
Stricter check
This commit is contained in:
@@ -111,7 +111,7 @@ if ($_POST && !$error) {
|
|||||||
$command = "INSERT";
|
$command = "INSERT";
|
||||||
$query = "INTO $query";
|
$query = "INTO $query";
|
||||||
}
|
}
|
||||||
if ($_POST["all"] || ($unselected === array() && $_POST["check"]) || $is_group) {
|
if ($_POST["all"] || ($unselected === array() && is_array($_POST["check"])) || $is_group) {
|
||||||
$result = queries("$command $query$where_check");
|
$result = queries("$command $query$where_check");
|
||||||
$affected = $connection->affected_rows;
|
$affected = $connection->affected_rows;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user