From f1cee29034aa314c178851b1bfe6770b01257cd8 Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 26 Sep 2010 19:47:20 +0000 Subject: [PATCH] //comment git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@593 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- www/inc/wext/event.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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)))); } -- 1.7.2.5