X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_country.php;h=fb97e68a158013c079d17c4cae0b280c1e719003;hp=776b59948df438839d6a06e0080ee8f4ef698c4f;hb=2e68ea39a430a7217e58747b877acaa3e92ea997;hpb=81048fd007675d6201fbae06577d3a13f83d943e diff --git a/inc/modules/admin/what-list_country.php b/inc/modules/admin/what-list_country.php index 776b59948d..fb97e68a15 100644 --- a/inc/modules/admin/what-list_country.php +++ b/inc/modules/admin/what-list_country.php @@ -141,7 +141,7 @@ if ((isset($_POST['add'])) && (!empty($_POST['code'])) && (!empty($_POST['descr' $MSG = ADMIN_COUNTRIES_MODIFIED; } elseif ((isset($_POST['remove'])) && (!empty($_POST['id']))) { // Remove - $IDs = implode(", ", $_POST['id']); + $IDs = implode(",", array_keys($_POST['id'])); $SQLs[] = "DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_countries WHERE id IN (".$IDs.") LIMIT ".count($_POST['id']).""; // Create message