A lot fixes to templates and missing functions added, more rewrites
[mailer.git] / inc / libs / country_functions.php
index 30b1cfec4f6937f0ccf302e95344d3d83c2d8d8c..f802148a0f3492d4cde8aa4a9244005ef53556b6 100644 (file)
@@ -41,7 +41,7 @@ if (!defined('__SECURITY')) {
 function COUNTRY_GENERATE_INFO ($id) {
        // Load code and description
        $result = SQL_QUERY_ESC("SELECT code, descr FROM `{!_MYSQL_PREFIX!}_countries` WHERE id=%s LIMIT 1",
-               array(bigintval($id)), __FILE__, __LINE__);
+               array(bigintval($id)), __FUNCTION__, __LINE__);
 
        // Is there an entry?
        if (SQL_NUMROWS($result) == 1) {