From: konrad Date: Sun, 26 Sep 2010 19:47:20 +0000 (+0000) Subject: //comment X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=f1cee29034aa314c178851b1bfe6770b01257cd8;p=web%2Fkonrad%2Fsmoke.git //comment git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@593 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/www/inc/wext/event.php b/www/inc/wext/event.php index 746ea17..a00fc70 100644 --- a/www/inc/wext/event.php +++ b/www/inc/wext/event.php @@ -247,8 +247,8 @@ class WOEvent extends WOEventAbstract /**called by the GetEntranceEvents transaction*/ public static function getEntranceEvents($trans) { - $start=time()+(24*3600); - $end=time(); + $start=time()+(24*3600); //is running or starts within 24h + $end=time(); //has not ended yet global $db; $trans->setevents(WOEvent::fromTableArrayevent(WTevent::selectFromDB("starttime<=".$db->escapeInt($start)." AND endtime>=".$db->escapeInt($end)))); }