Commit: 83678ecb1f28391a92b841e4bbfa37b97adfdb54 Author: Andreas Heigl <[email protected]> Thu, 27 Mar 2014 21:20:22 +0100 Parents: 3fcbf8d60de18591b7e4ec5d8ecc71d5d960f4b3 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=83678ecb1f28391a92b841e4bbfa37b97adfdb54 Log: Fixes missing UG-list with unknown country This change fixes an issue where users without a known IP-address didn't get to see the list of usergroups Changed paths: M ug.php Diff: diff --git a/ug.php b/ug.php index d485eaf..28a3d48 100644 --- a/ug.php +++ b/ug.php @@ -100,8 +100,8 @@ function print_ug_matches($matches) { $country = isset($_GET["cc"]) ? $_GET["cc"] : $COUNTRY; $allcountries = array(); +$matches = get_usergroups_in($country, $allcountries); if (isset($COUNTRIES_ALPHA2[$country])) { - $matches = get_usergroups_in($country, $allcountries); print_cc_header($country); print_ug_matches($matches); } else { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
