diff --git a/adminer/select.inc.php b/adminer/select.inc.php index c6eef856..11552517 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -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 {