Robustness on finding country name

This commit is contained in:
moodler
2003-05-29 03:06:10 +00:00
parent a205123f06
commit 4a6a574f2a
+3 -1
View File
@@ -211,7 +211,9 @@
flush();
foreach ($users as $key => $user) {
$users[$key]->country = $COUNTRIES[$user->country];
if (!empty($user->country)) {
$users[$key]->country = $COUNTRIES[$user->country];
}
}
if ($sort == "country") { // Need to resort by full country name, not code
foreach ($users as $user) {