madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20092: LJSUP-9830: fixed 500

Committer: sbelyaev
LJSUP-9830: fixed 500
U   branches/delayed_entries/cgi-bin/LJ/S2/DayPage.pm
Modified: branches/delayed_entries/cgi-bin/LJ/S2/DayPage.pm
===================================================================
--- branches/delayed_entries/cgi-bin/LJ/S2/DayPage.pm	2011-09-21 02:36:57 UTC (rev 20091)
+++ branches/delayed_entries/cgi-bin/LJ/S2/DayPage.pm	2011-09-21 02:44:32 UTC (rev 20092)
@@ -109,8 +109,10 @@
     my $tags = LJ::Tags::get_logtags($u, \@itemids);
     
     my @ditems = LJ::DelayedEntry->get_entries_for_day($u, $year, $month, $day, $dateformat, $secwhere);
-    foreach my $ditem (@ditems)
-        push @items, $ditem if $ditem;
+    foreach my $ditem (@ditems) {
+        if ($ditem) {
+            push @items, $ditem;
+        }
     }
 
     my $userlite_journal = UserLite($u);

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