From: konrad Date: Wed, 26 May 2010 19:31:45 +0000 (+0000) Subject: correct entrance event selection X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=73fd26b9cbf66b421eff9bb97ff031bd4aa64ab9;p=konrad%2Fsmoke.git correct entrance event selection git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@478 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/www/inc/wext/event.php b/www/inc/wext/event.php index 133a903..0fb635c 100644 --- a/www/inc/wext/event.php +++ b/www/inc/wext/event.php @@ -225,7 +225,7 @@ class WOEvent extends WOEventAbstract /**called by the GetEntranceEvents transaction*/ public static function getEntranceEvents($trans) { - $start=time()+24*3600; + $start=time()+(24*3600); $end=time(); global $db; $trans->setevents(WOEvent::fromTableArrayevent(WTevent::selectFromDB("starttime<=".$db->escapeInt($start)." AND endtime>=".$db->escapeInt($end))));