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

[livejournal] r21675: LJSUP-11336: New s1: Add custom userhead...

Committer: anazarov
LJSUP-11336: New s1: Add custom userhead in favicon for journal entries
U   trunk/cgi-bin/LJ/SiteScheme.pm
Modified: trunk/cgi-bin/LJ/SiteScheme.pm
===================================================================
--- trunk/cgi-bin/LJ/SiteScheme.pm	2012-04-06 14:20:38 UTC (rev 21674)
+++ trunk/cgi-bin/LJ/SiteScheme.pm	2012-04-09 07:46:23 UTC (rev 21675)
@@ -115,8 +115,8 @@
     my $favicon = '';
     if ( my $journal = LJ::get_active_journal() ) {
         if ( $journal->is_personal ) {
-            $favicon = $journal->userhead;
-            $favicon = $LJ::IMGPREFIX . "/" . $favicon
+            ($favicon) = $journal->userhead;
+            $favicon   = $LJ::IMGPREFIX . "/" . $favicon
                 unless $favicon =~ m{^http://};
         }
     }

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