From 3cc55f62357e27ba44429337ca94bbd80e00611a Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 23 Dec 2005 01:35:11 +0000 Subject: [PATCH] r669: Fixed construct_user_display() for guests --- includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 364f377..632100b 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -37,7 +37,8 @@ function construct_user_display($userinfo, $html = true) if (!$userinfo['userid']) { - $userinfo['username'] = $bugsys->lang->string('Guest'); + $userinfo['displayname'] = $bugsys->lang->string('Guest'); + $userinfo['showemail'] = false; } if ($html) -- 2.43.5