From: Konrad Rosenbaum Date: Wed, 11 Sep 2013 20:00:48 +0000 (+0200) Subject: hide cancelled event on web site X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=1fcfc920ce75fb211e06a70ef14441a5444dcc11;p=web%2Fkonrad%2Fsmoke.git hide cancelled event on web site --- diff --git a/www/inc/rendering/event_listing.php b/www/inc/rendering/event_listing.php index da5bb24..09906a9 100644 --- a/www/inc/rendering/event_listing.php +++ b/www/inc/rendering/event_listing.php @@ -39,6 +39,8 @@ public static function createEventList() if($event->getstart()<=$now)continue; //only show those available via web if(!$session->checkFlags($event->getflags()))continue; + //don't show cancelled events + if($event->getiscancelled())continue; //encode as array $list['events'][]=$event; }