X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fcountry_functions.php;h=a001eef4658d86c5273e481dce3e7586324b5fdf;hp=6da1d355a5e29a36ea0e8546fc415872d11805d8;hb=c3b4eaf29946349ff058691db2dcb615a5379bb2;hpb=7b0f17cd637e388049d2167811e4332cec1e979b diff --git a/inc/libs/country_functions.php b/inc/libs/country_functions.php index 6da1d355a5..a001eef465 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] ?>