]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_country.php
Large code cleanups:
[mailer.git] / inc / modules / admin / what-list_country.php
index 946b758895917ebcae2632557d9e741c86a9e7d1..069d2ea0b113fb5914ce04e419d6c214fcb8cc27 100644 (file)
@@ -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