From cffbaff2dc4f3d6900c50d95645353c6ca7363b8 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 2 Sep 2002 07:18:13 +0000 Subject: [PATCH] Print the user's stated city/country as well --- lib/ipatlas/plot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ipatlas/plot.php b/lib/ipatlas/plot.php index 9cbbb7eec4..de4d0ffe0b 100644 --- a/lib/ipatlas/plot.php +++ b/lib/ipatlas/plot.php @@ -5,7 +5,7 @@ include("plot.inc"); if (isset($user)) { $user = get_record("user", "id", $user); - $username = "$user->firstname $user->lastname"; + $username = "$user->firstname $user->lastname [$user->city, $user->country] : "; } else { $username = ""; } @@ -112,7 +112,7 @@ print ' '; if(isset($address)) { -print "$username, $values[desc]"; +print "$username $values[desc]"; } $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF']; -- 2.39.5