Fix for bug MDL-8708 "Debug, multiple warnings in admin/uploaduser.php and user.php" (merged from HEAD).

This commit is contained in:
nfreear
2007-03-01 12:10:16 +00:00
parent 54e296b115
commit 36be64d1da
2 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -355,7 +355,9 @@
. get_string($changeaccessto, 'mnet') . " access</a>)";
}
// mnet info in edit column
$editbutton = $mnethosts[$user->mnethostid]->name;
if (isset($mnethosts[$user->mnethostid])) {
$editbutton = $mnethosts[$user->mnethostid]->name;
}
}
if ($user->lastaccess) {