From: moodler Date: Fri, 28 Nov 2003 10:41:06 +0000 (+0000) Subject: Use fullname function to display names X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d7e1bae0564ad325a57e5047027e2b0a6fb77482;p=moodle.git Use fullname function to display names --- diff --git a/course/unenrol.php b/course/unenrol.php index a50662f7a2..21d08bec2b 100644 --- a/course/unenrol.php +++ b/course/unenrol.php @@ -53,7 +53,7 @@ if ($user->id == $USER->id) { $strunenrolsure = get_string("unenrolsure", "", get_string("yourself")); } else { - $strunenrolsure = get_string("unenrolsure", "", "$user->firstname $user->lastname"); + $strunenrolsure = get_string("unenrolsure", "", fullname($user, true)); } notice_yesno ($strunenrolsure, "unenrol.php?id=$id&user=$user->id&confirm=yes", "$HTTP_REFERER");