From 73fd26b9cbf66b421eff9bb97ff031bd4aa64ab9 Mon Sep 17 00:00:00 2001 From: konrad Date: Wed, 26 May 2010 19:31:45 +0000 Subject: [PATCH] correct entrance event selection git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@478 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- www/inc/wext/event.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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)))); -- 1.7.2.5