Commit 81df396f authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie

Hopefully now, fix the staff not being able to see the usernames of

normal students
parent c4335841
......@@ -345,7 +345,7 @@ function display_name($user, $userto=null) {
return $user->firstname . ' ' . $user->lastname;
}
if ($userto->admin || $user->staff) {
if ($userto->admin || $userto->staff) {
return $user->preferredname . ' (' . $user->firstname . ' ' . $user->lastname . ' - ' . $user->username . ')';
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment