X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_country.php;h=d4f2fbdddc860486b7a26168d7a5f13e157c525d;hp=4407bc58ccd15a0ce08d74d6329f431c55326c7a;hb=0715fa7aa8e5e70bcf1d957fb09ae655c3896c4e;hpb=33989fa4a558317899c3e68cb51e1be552c4ce8e diff --git a/inc/modules/admin/what-list_country.php b/inc/modules/admin/what-list_country.php index 4407bc58cc..d4f2fbdddc 100644 --- a/inc/modules/admin/what-list_country.php +++ b/inc/modules/admin/what-list_country.php @@ -152,7 +152,7 @@ if ((isFormSent('add')) && (isPostRequestParameterSet('code')) && (isPostRequest if ((isPostRequestParameterSet('modify')) && (isPostRequestParameterSet('id'))) { // Modify foreach (postRequestParameter('id') as $id => $sel) { - addSql("UPDATE `{?_MYSQL_PREFIX?}_countries` SET `code`='".postRequestParameter('code', $id)."', `descr`='".postRequestParameter('descr', $id)."', `is_active`='".postRequestParameter('is_active', $id)."' WHERE `id`='".$id."' LIMIT 1"); + addSql("UPDATE `{?_MYSQL_PREFIX?}_countries` SET `code`='" . postRequestParameter('code', $id) . "', `descr`='" . postRequestParameter('descr', $id) . "', `is_active`='" . postRequestParameter('is_active', $id) . "' WHERE `id`=" . bigintval($id) . " LIMIT 1"); } // Create message