]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_country.php
Tons of rewrites (SQL queries), surfbar nearly finished (working: surfing with static...
[mailer.git] / inc / modules / admin / what-list_country.php
index d694fdf927bb3be1f8d953ced41efa6e02e4d24f..16ceaef0bf65e6661699f66f2fa29efe8a2b8f2f 100644 (file)
@@ -107,7 +107,7 @@ if ((isset($_POST['add'])) && (!empty($_POST['code'])) && (!empty($_POST['descr'
                foreach ($_POST['id'] as $id=>$status)
                {
                        // Load data from DB
-                       $result = SQL_QUERY_ESC("SELECT code, descr FROM "._MYSQL_PREFIX."_countries WHERE id=%d LIMIT 1",
+                       $result = SQL_QUERY_ESC("SELECT code, descr FROM "._MYSQL_PREFIX."_countries WHERE id=%s LIMIT 1",
                         array(bigintval($id)), __FILE__, __LINE__);
                        if (SQL_NUMROWS($result) == 1)
                        {