projects
/
web/konrad/smoke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5647d60
)
hide cancelled event on web site
author
Konrad Rosenbaum
<konrad@silmor.de>
Wed, 11 Sep 2013 20:00:48 +0000 (22:00 +0200)
committer
Konrad Rosenbaum
<konrad@silmor.de>
Wed, 11 Sep 2013 20:00:48 +0000 (22:00 +0200)
www/inc/rendering/event_listing.php
patch
|
blob
|
history
diff --git
a/www/inc/rendering/event_listing.php
b/www/inc/rendering/event_listing.php
index
da5bb24
..
09906a9
100644
(file)
--- 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;
}