kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-09-17 02:55 am

[dw-free] Read page by date accidentally broken.

[commit: http://hg.dwscoalition.org/dw-free/rev/ae0047c1f056]

http://bugs.dwscoalition.org/show_bug.cgi?id=1815

Make reading page by date work again (typo fix).

Patch by [personal profile] exor674.

Files modified:
  • cgi-bin/DW/Logic/LogItems.pm
--------------------------------------------------------------------------------
diff -r 3de2f6603098 -r ae0047c1f056 cgi-bin/DW/Logic/LogItems.pm
--- a/cgi-bin/DW/Logic/LogItems.pm	Tue Sep 15 22:43:49 2009 -0500
+++ b/cgi-bin/DW/Logic/LogItems.pm	Wed Sep 16 21:54:58 2009 -0500
@@ -62,7 +62,7 @@ sub watch_items
     my $getitems = $itemshow + $skip;
 
     # friendspage per day is allowed only for journals with the special cap 'friendspage_per_day'
-    my $events_date = $args{event_date};
+    my $events_date = $args{events_date};
     $events_date = '' unless $remote && $u->get_cap( 'friendspage_per_day' );
 
     my $filter  = $args{content_filter};
--------------------------------------------------------------------------------