madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r23138: LJSUP-13883: Journal pages optimizaiton ...

Committer: sbelyaev
LJSUP-13883: Journal pages optimizaiton : stage 1
U   trunk/cgi-bin/LJ/Subscription.pm
Modified: trunk/cgi-bin/LJ/Subscription.pm
===================================================================
--- trunk/cgi-bin/LJ/Subscription.pm	2012-10-15 14:54:10 UTC (rev 23137)
+++ trunk/cgi-bin/LJ/Subscription.pm	2012-10-15 14:57:31 UTC (rev 23138)
@@ -216,8 +216,8 @@
     @subs = grep { $_->{etypeid}   == $etypeid }   @subs if $etypeid;
     @subs = grep { $_->flags     == $flags }     @subs if defined $flags;
 
-    @subs = grep { $_->arg1 == $arg1 }           @subs if defined $arg1;
-    @subs = grep { $_->arg2 == $arg2 }           @subs if defined $arg2;
+    @subs = grep { $_->{arg1} == $arg1 }           @subs if defined $arg1;
+    @subs = grep { $_->{arg2} == $arg2 }           @subs if defined $arg2;
 
     return @subs;
 }

Tags: livejournal, madeon, pm, sbelyaev
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