]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/country_functions.php
Extension ext-theme doesn't need to be activated in admin area
[mailer.git] / inc / libs / country_functions.php
index 613132340139d63fd1834aa1017fd533aea2088b..2dfd60e3b0fbb08113cd346e5080970a9b70c22c 100644 (file)
@@ -46,14 +46,21 @@ 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?
        if (SQL_NUMROWS($result) == 1) {
                // Load entry
                $content = SQL_FETCHARRAY($result);
-               //* DEBUG: */ print($id.'=<pre>'.print_r($content, true).'</pre>');
+               //* DEBUG: */ print($id.'=<pre>'.print_r($content, TRUE).'</pre>');
 
                // Construct human-readable description
                $ret = sprintf("%s (%s)", $content['descr'], $content['code']);