Commit 26e130f8 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files
parents 59cd5e88 85080c7b
......@@ -74,8 +74,8 @@ define('TITLE', $name);
if ($USER->get('staff')) {
$userfields['fullname'] = $user->firstname . ' ' . $user->lastname;
$userfields['institution'] = $user->institution;
$userfields['studentid'] = $user->studentid;
$userfields['emailaddress'] = $user->email;
$userfields['studentid'] = get_profile_field($user->id, 'studentid');
$userfields['principalemailaddress'] = $user->email;
}
// Get public profile fields:
......
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