Commit: 7842990851f701519711158ed50c8cfc63c991ef Author: Andreas Heigl <[email protected]> Thu, 27 Mar 2014 21:20:22 +0100 Parents: b4b3abf258bcd1f3bac1cdccf66b3bb385e65fc3 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=7842990851f701519711158ed50c8cfc63c991ef 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
