X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_country.php;h=069d2ea0b113fb5914ce04e419d6c214fcb8cc27;hp=946b758895917ebcae2632557d9e741c86a9e7d1;hb=a18efdcd57ba91893f0958a457b5c58639b135c3;hpb=20741b93fd58620af677a7f1039ffd16ea6ec689 diff --git a/inc/modules/admin/what-list_country.php b/inc/modules/admin/what-list_country.php index 946b758895..069d2ea0b1 100644 --- a/inc/modules/admin/what-list_country.php +++ b/inc/modules/admin/what-list_country.php @@ -139,7 +139,15 @@ if ((isFormSent('add')) && (isPostRequestElementSet('code')) && (isPostRequestEl if ((isPostRequestElementSet('modify')) && (isPostRequestElementSet('id'))) { // Modify foreach (postRequestElement('id') as $id => $sel) { - addSql("UPDATE `{?_MYSQL_PREFIX?}_countries` SET `code`='" . postRequestElement('code', $id) . "', `descr`='" . postRequestElement('descr', $id) . "', `is_active`='" . postRequestElement('is_active', $id) . "' WHERE `id`=" . bigintval($id) . " LIMIT 1"); + addSql("UPDATE + `{?_MYSQL_PREFIX?}_countries` +SET + `code`='" . postRequestElement('code', $id) . "', + `descr`='" . postRequestElement('descr', $id) . "', + `is_active`='" . postRequestElement('is_active', $id) . "' +WHERE + `id`=" . bigintval($id) . " +LIMIT 1"); } // END - foreach // Create message