X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fcountry_functions.php;h=0f4201057f48eaa9dc7fd708850406243428fc22;hp=613132340139d63fd1834aa1017fd533aea2088b;hb=2df9f7a53f8b1dd5164f87824a324ccb3b6634cb;hpb=428be1738c81a57e4e75b4f701df9414656a3b13 diff --git a/inc/libs/country_functions.php b/inc/libs/country_functions.php index 6131323401..0f4201057f 100644 --- a/inc/libs/country_functions.php +++ b/inc/libs/country_functions.php @@ -46,7 +46,14 @@ function generateCountryInfo ($id) { $ret = '{--COUNTRY_CODE_404--}'; // Load code and description - $result = SQL_QUERY_ESC("SELECT `code`,`descr` FROM `{?_MYSQL_PREFIX?}_countries` WHERE `id`=%s LIMIT 1", + $result = SQL_QUERY_ESC("SELECT + `code`, + `descr` +FROM + `{?_MYSQL_PREFIX?}_countries` +WHERE + `id`=%s +LIMIT 1", array(bigintval($id)), __FUNCTION__, __LINE__); // Is there an entry?