X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_country.php;h=7977ca3ba018a8f6679264d1475cbe5ae3adf9dd;hb=2142149f3f72f1a2476f95a87937c044d63bbaf2;hp=d78fe0076b48d33bdd26f6e1d51e54dc66552577;hpb=97dbb1a1f2f9e582132bb81c12895503e78e7a59;p=mailer.git diff --git a/inc/modules/admin/what-list_country.php b/inc/modules/admin/what-list_country.php index d78fe0076b..7977ca3ba0 100644 --- a/inc/modules/admin/what-list_country.php +++ b/inc/modules/admin/what-list_country.php @@ -49,8 +49,7 @@ if ((isset($_POST['add'])) && (!empty($_POST['code'])) && (!empty($_POST['descr' if (SQL_NUMROWS($result) == 0) { // Save entry - $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_countries (code, descr, is_active) - VALUES('%s','%s','%s')", + $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_countries (code, descr, is_active) VALUES ('%s','%s','%s')", array(strtoupper(substr($_POST['code'], 0, 2)), $_POST['descr'], $_POST['is_active']), __FILE__, __LINE__); // Country added