]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_country.php
Several rewrites/renames, fixes for installation. Resolves #104
[mailer.git] / inc / modules / admin / what-list_country.php
index b24d7c7c2efedd8993e75ec0f909b014b65ea68f..2fb61b22b26a1659580df61e34e651062f2a9388 100644 (file)
@@ -147,19 +147,19 @@ if ((REQUEST_ISSET_POST(('add'))) && (REQUEST_ISSET_POST(('code'))) && (REQUEST_
                }
 
                // Create message
-               $MSG = ADMIN_COUNTRIES_MODIFIED;
+               $MSG = getMessage('ADMIN_COUNTRIES_MODIFIED');
        } elseif ((REQUEST_ISSET_POST(('remove'))) && (REQUEST_ISSET_POST(('id')))) {
                // Remove
                $IDs = implode(",", array_keys(REQUEST_POST('id')));
                ADD_SQL("DELETE LOW_PRIORITY FROM `{!_MYSQL_PREFIX!}_countries` WHERE id IN (".$IDs.") LIMIT ".count(REQUEST_POST('id'))."");
 
                // Create message
-               $MSG = ADMIN_COUNTRIES_REMOVED;
+               $MSG = getMessage('ADMIN_COUNTRIES_REMOVED');
        }
 
        if ((!empty($MSG)) && (COUNT_SQLS() > 0)) {
                // Run SQL commands
-               RUN_FILTER('run_sqls', array('dry_run' => false));
+               runFilterChain('run_sqls');
 
                // Display message
                LOAD_TEMPLATE("admin_settings_saved", false, $MSG);