Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Missing a $firstname $lastname... :( Changed to fullname

  • Loading branch information...
commit 5b4388f3053849c20bbf7f6bce308adbce2f3230 1 parent 072f753
willcast authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 mod/glossary/lib.php
View
5 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 "<p><font size=1>$date - $entry->firstname $entry->lastname<br>";
+
+ $user = get_record("user","id",$entry->userid);
+ $fullname = fullname($user, $isteacher);
+ echo "<p><font size=1>$date - $fullname<br>";
echo "\"<a href=\"$CFG->wwwroot/mod/glossary/$entry->url\">";
echo "$entry->concept";
echo "</a>\"</font></p>";
Please sign in to comment.
Something went wrong with that request. Please try again.