X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FShowUserVerbose;h=f805b575a0a64c26dc14b3069ab0459e1e645d14;hb=7588a4ac90a9b07c08a3107cd1107d773be1c991;hp=9ff8cbbc8351db79b2c99a28ea6fcddc3f846a4a;hpb=98d2b25256055abb0dfcb9f586b434474fa97afd;p=freeside.git diff --git a/rt/share/html/Elements/ShowUserVerbose b/rt/share/html/Elements/ShowUserVerbose index 9ff8cbbc8..f805b575a 100644 --- a/rt/share/html/Elements/ShowUserVerbose +++ b/rt/share/html/Elements/ShowUserVerbose @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -54,8 +54,9 @@ my $comment = ''; if ($User) { $address = $User->EmailAddress; - $phrase = $User->RealName if $User->RealName && lc $User->RealName ne lc $address; - $comment = $User->Name if lc $User->Name ne lc $address; + $phrase = $User->RealName + if $User->RealName && ( !$address || lc $User->RealName ne lc $address ); + $comment = $User->Name if !$address || lc $User->Name ne lc $address; } else { $address = $Address; }