wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r14920: LJSUP-3779. Extention of tag <lj user=""...

Committer: wisest-owl
LJSUP-3779. Extention of tag [Unknown LJ tag]

U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2009-02-20 17:07:06 UTC (rev 14919)
+++ trunk/cgi-bin/LJ/User.pm	2009-02-24 03:16:08 UTC (rev 14920)
@@ -6324,7 +6324,7 @@
 
         # Backwards check, because we want it to default to on
         my $bold = (exists $opts->{'bold'} and $opts->{'bold'} == 0) ? 0 : 1;
-        my $title = exists $opts->{'title'} ? LJ::ehtml($opts->{'title'}) : $user;
+        my $title = (exists $opts->{'title'} and $opts->{'title'} ne '') ? LJ::ehtml($opts->{'title'}) : $user;
         my $ljusername = $bold ? "<b>$title</b>" : "$title";
 
         my $link_color = "";

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments