X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Flibs%2Fcountry_functions.php;h=a001eef4658d86c5273e481dce3e7586324b5fdf;hb=76740e48546bb3fdb9fca65d8d205765f2bd4d68;hp=30b1cfec4f6937f0ccf302e95344d3d83c2d8d8c;hpb=5bdeaf8b452206598b6c6cd4f941145b11a0eccc;p=mailer.git diff --git a/inc/libs/country_functions.php b/inc/libs/country_functions.php index 30b1cfec4f..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); @@ -61,5 +65,6 @@ function COUNTRY_GENERATE_INFO ($id) { // Return info return $ret; } -// + +// [EOF] ?>