X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fcountry_functions.php;h=66a2fed69445012b4baee3860f403e976ad04a9f;hb=3e4fd7d36d85a58509b19060ae892f37299be92e;hp=d8cd7d7781528482380878a66c896039cd898be2;hpb=e6785b4a4845d7a885b0e9c6dac517c6867940e1;p=mailer.git diff --git a/inc/libs/country_functions.php b/inc/libs/country_functions.php index d8cd7d7781..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] ?>