mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 10:04:07 +02:00
Stricter check
This commit is contained in:
@@ -111,7 +111,7 @@ if ($_POST && !$error) {
|
||||
$command = "INSERT";
|
||||
$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");
|
||||
$affected = $connection->affected_rows;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user