From 5b4388f3053849c20bbf7f6bce308adbce2f3230 Mon Sep 17 00:00:00 2001 From: willcast Date: Tue, 2 Dec 2003 14:43:36 +0000 Subject: [PATCH] - Missing a $firstname $lastname... :( Changed to fullname --- mod/glossary/lib.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 "\"

"; -- 2.39.5