X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fcountry_functions.php;h=66a2fed69445012b4baee3860f403e976ad04a9f;hb=3e4fd7d36d85a58509b19060ae892f37299be92e;hp=38026b038f6a2e31b2fbb710e1b7285ef9dba36e;hpb=debaac55fafff501de5077f3672623c0d738a5b2;p=mailer.git diff --git a/inc/libs/country_functions.php b/inc/libs/country_functions.php index 38026b038f..66a2fed694 100644 --- a/inc/libs/country_functions.php +++ b/inc/libs/country_functions.php @@ -1,7 +1,7 @@ '.print_r($content, true).''); // Construct human-readable description - $ret = sprintf("%s (%s)", $descr, $code); - } else { - // Not found! - $ret = COUNTRY_NOT_FOUND; - } + $ret = sprintf("%s (%s)", $content['descr'], $content['code']); + } // END - if // Free the result SQL_FREERESULT($result); @@ -66,5 +65,6 @@ function COUNTRY_GENERATE_INFO ($id) { // Return info return $ret; } -// + +// [EOF] ?>