Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r21837: LJSUP-11985: Change LJ::ljuser() impleme...

Committer: anazarov
LJSUP-11985: Change LJ::ljuser() implementation
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-04-27 13:53:17 UTC (rev 21836)
+++ trunk/cgi-bin/LJ/User.pm	2012-04-27 13:57:53 UTC (rev 21837)
@@ -8081,7 +8081,7 @@
         bold           => $opts->{'bold'}? 1 : 0,
         color          => $color,
         user_alias     => LJ::ehtml($user_alias),
-        side_alias     => $side_alias,
+        side_alias     => $user_alias? $side_alias : undef,
         target         => $opts->{'target'},
         username       => $username,
         journal        => $opts->{'title'} || $journal_name,

Tags: anazarov, livejournal, nfokz, pm
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