vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r16459: LJSUP-5701: QotD stuff

Committer: vsukhanov
LJSUP-5701: QotD stuff
U   trunk/cgi-bin/LJ/QotD.pm
Modified: trunk/cgi-bin/LJ/QotD.pm
===================================================================
--- trunk/cgi-bin/LJ/QotD.pm	2010-03-26 05:38:09 UTC (rev 16458)
+++ trunk/cgi-bin/LJ/QotD.pm	2010-03-26 06:04:35 UTC (rev 16459)
@@ -540,7 +540,7 @@
                             : int (time / 86400);
 
     my @total_this_day = 
-        grep { $_->{day} cmp $question->{day} }
+        grep { $_->{day} eq $question->{day} }
         @all_questions;
 
     my $total = scalar @total_this_day;

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