From 40387b0fc738c68e601303654f24064453259d0b Mon Sep 17 00:00:00 2001
From: moodler <moodler>
Date: Fri, 28 Nov 2003 10:47:39 +0000
Subject: [PATCH] Use fullname() function for name

---
 lib/ipatlas/plot.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 = "<B>$user->firstname $user->lastname</B> [$user->city, $user->country] : ";
+    $fullname = fullname($user, true);
+    $username = "<b>$fullname</b> [$user->city, $user->country] : ";
 } else {
     $username = "";
 }
-- 
2.39.5