cvs: pearweb /include pear-voter.php

From: Date: Sat, 11 Nov 2006 01:34:11 +0000
Subject: cvs: pearweb /include pear-voter.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5172@lists.php.net to get a copy of this message
cellog Sat Nov 11 01:34:11 2006 UTC Modified files: /pearweb/include pear-voter.php Log: make sure we list elections on the day they start current code will only list elections that have been going for 1 day http://cvs.php.net/viewvc.cgi/pearweb/include/pear-voter.php?r1=1.6&r2=1.7&diff_format=u Index: pearweb/include/pear-voter.php diff -u pearweb/include/pear-voter.php:1.6 pearweb/include/pear-voter.php:1.7 --- pearweb/include/pear-voter.php:1.6 Fri Nov 10 04:39:05 2006 +++ pearweb/include/pear-voter.php Sat Nov 11 01:34:11 2006 @@ -26,7 +26,7 @@ FROM elections e WHERE - e.votestart > NOW() OR + e.votestart >= NOW() OR (e.votestart < NOW() AND e.voteend >= NOW()) ORDER BY e.votestart ', array(), DB_FETCHMODE_ASSOC); @@ -48,7 +48,7 @@ FROM elections e WHERE - e.votestart > NOW() OR + e.votestart >= NOW() OR (e.votestart < NOW() AND e.voteend >= NOW()) ORDER BY e.votestart ', array(), DB_FETCHMODE_ASSOC);

« previous php.pear.core (#5172) next »