alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r19019: LJSUP-8474: Userhead as Favicon

Committer: afedorov
LJSUP-8474: Userhead as Favicon

U   trunk/cgi-bin/bml/scheme/global.look
Modified: trunk/cgi-bin/bml/scheme/global.look
===================================================================
--- trunk/cgi-bin/bml/scheme/global.look	2011-05-04 07:32:40 UTC (rev 19018)
+++ trunk/cgi-bin/bml/scheme/global.look	2011-05-04 08:07:59 UTC (rev 19019)
@@ -28,7 +28,7 @@
 <?_code
     my $ie_userhead = '<link rel="shortcut icon" type="image/x-icon" href="'.$LJ::IMGPREFIX.'/userinfo.ico">';
     my $u = LJ::get_active_journal();
-    return $ie_userhead unless $u && $u->is_person;
+    return '' unless $u && $u->is_person;
     my ($userhead) = $u->userhead;
     $userhead = $LJ::IMGPREFIX . "/" . $userhead 
         unless $userhead =~ m|^http://|;

Tags: livejournal, look, red_alf
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