correct entrance event selection
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Wed, 26 May 2010 19:31:45 +0000 (19:31 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Wed, 26 May 2010 19:31:45 +0000 (19:31 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@478 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

www/inc/wext/event.php

index 133a903..0fb635c 100644 (file)
@@ -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))));