From: moodler Date: Fri, 28 Nov 2003 10:47:39 +0000 (+0000) Subject: Use fullname() function for name X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=40387b0fc738c68e601303654f24064453259d0b;p=moodle.git Use fullname() function for name --- diff --git a/lib/ipatlas/plot.php b/lib/ipatlas/plot.php index 3f322b1c78..398caaf2b4 100644 --- a/lib/ipatlas/plot.php +++ b/lib/ipatlas/plot.php @@ -5,7 +5,8 @@ include("plot.inc"); if (isset($user)) { $user = get_record("user", "id", $user); - $username = "$user->firstname $user->lastname [$user->city, $user->country] : "; + $fullname = fullname($user, true); + $username = "$fullname [$user->city, $user->country] : "; } else { $username = ""; }