From: willcast Date: Tue, 2 Dec 2003 14:43:36 +0000 (+0000) Subject: - Missing a $firstname $lastname... :( Changed to fullname X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5b4388f3053849c20bbf7f6bce308adbce2f3230;p=moodle.git - Missing a $firstname $lastname... :( Changed to fullname --- diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index b6683fdcdd..719f11fa51 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -239,7 +239,10 @@ function glossary_print_recent_activity($course, $isteacher, $timestart) { print_headline(get_string("newentries", "glossary").":"); foreach ($entries as $entry) { $date = userdate($entry->timemodified, $strftimerecent); - echo "

$date - $entry->firstname $entry->lastname
"; + + $user = get_record("user","id",$entry->userid); + $fullname = fullname($user, $isteacher); + echo "

$date - $fullname
"; echo "\"wwwroot/mod/glossary/$entry->url\">"; echo "$entry->concept"; echo "\"

";