Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r8106: LJSV-854: ScrapBook doesn't appear to ha...

Committer: ailyin
LJSV-854: ScrapBook doesn't appear to have in_class, so let's not show
the link there at all.

U   branches/r60.3/cgi-bin/LJ/Nav.pm
Modified: branches/r60.3/cgi-bin/LJ/Nav.pm
===================================================================
--- branches/r60.3/cgi-bin/LJ/Nav.pm	2009-12-29 05:43:00 UTC (rev 8105)
+++ branches/r60.3/cgi-bin/LJ/Nav.pm	2010-01-12 08:26:55 UTC (rev 8106)
@@ -385,7 +385,7 @@
     push @friends_links, (
         { 'url' => "$siteroot/friends/holidaypromotion.bml",
           'text' => BML::ml('horizon.nav.friends.invite2paid'), },
-    ) if ($remote && ($remote->in_class('perm') || $remote->in_class('paid')));
+    ) if ($remote && UNIVERSAL::isa($remote, 'LJ::User') && ($remote->in_class('perm') || $remote->in_class('paid')));
     push @friends_links, (
         { 'url' => "$siteroot/friends/",
           'text' => BML::ml('horizon.nav.friends.other'), },

Tags: andy, ljcom, 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