X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/9d4cdf377ffa6b7c944da72bbe2284bff83618df..13d193248a1e052192a03d6dae71a36d588a0a9f:/header.php
diff --git a/header.php b/header.php
index 9b9908c..fa05fd7 100644
--- a/header.php
+++ b/header.php
@@ -11,25 +11,26 @@
-
+
-
-
-
-
-
-
-
-
+
+
+
-
UnrealIRCd Panel
+
+
+
+
+
+
+
@@ -108,7 +109,7 @@ $ToD = time_of_day();
$user = unreal_get_current_user();
if ($user)
{
- $name = $user->first_name ?? $user->username; // address them by first name, else username
+ $name = (strlen($user->first_name)) ? $user->first_name : $user->username; // address them by first name, else username
}
?>