diff --git a/html/user/util.inc b/html/user/util.inc index d58c6053d3..1e4627447d 100644 --- a/html/user/util.inc +++ b/html/user/util.inc @@ -222,8 +222,8 @@ function print_country_select($country="None") { global $countries; $numCountries = count($countries); for ($i=0; $i<$numCountries; $i++) { - $country = $countries[i]; - $selected = $countries[i] == $country ? "selected":""; + $country = $countries[$i]; + $selected = $countries[$i] == $country ? "selected":""; echo "\n"; } }