Committer: anazarov
LJSUP-11336: New s1: Add custom userhead in favicon for journal entriesU 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://}; } }