Mailer project continued:
[mailer.git] / inc / libs / country_functions.php
index 613132340139d63fd1834aa1017fd533aea2088b..0f4201057f48eaa9dc7fd708850406243428fc22 100644 (file)
@@ -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?