MDL-26733 avoid possible notice in admin/user.php.

This commit is contained in:
Tim Hunt
2011-03-08 17:48:05 +00:00
parent 48fe5c6cf9
commit d93cafeaa1
+1 -1
View File
@@ -180,7 +180,7 @@
}
foreach ($users as $key => $user) {
if (!empty($user->country)) {
if (isset($countries[$user->country])) {
$users[$key]->country = $countries[$user->country];
}
}