Commit d36bc184 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

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

normal students
parent e8891ed8
......@@ -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