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

[livejournal] r21243: LJSUP-11347 (Subscription notifications ...

Committer: ailyin
LJSUP-11347 (Subscription notifications broken after r89)
U   trunk/cgi-bin/LJ/Event/JournalNewEntry.pm
Modified: trunk/cgi-bin/LJ/Event/JournalNewEntry.pm
===================================================================
--- trunk/cgi-bin/LJ/Event/JournalNewEntry.pm	2012-02-24 11:44:08 UTC (rev 21242)
+++ trunk/cgi-bin/LJ/Event/JournalNewEntry.pm	2012-02-24 12:40:37 UTC (rev 21243)
@@ -49,10 +49,9 @@
 
     # all posts by friends
     return 1 if ! $subscr->journalid && LJ::is_friend($subscr->owner, $self->event_journal);
-    # a post on a specific journal
-    my $journal = LJ::load_userid($subscr->journal);
 
-    return LJ::u_equals($journal, $evtju);
+    # a post on a specific journal
+    return LJ::u_equals( $subscr->journal, $evtju );
 }
 
 sub content {

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