diff options
author | Florian Larysch | 2015-09-02 16:54:42 +0200 |
---|---|---|
committer | Florian Larysch | 2015-09-02 16:56:08 +0200 |
commit | 79f010f5c30b60a0007613e180ecaa621147b272 (patch) | |
tree | 916f7d5f967f6e7d1f9e0bd0b29ba90c3dd73b54 | |
parent | fbd52e74a2103a1af8ebada75f1c9d4bc7e999b1 (diff) |
catch all cases of $closed
Diffstat (limited to '')
-rw-r--r-- | model/Conference.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/model/Conference.php b/model/Conference.php index d6ef913..28c96e1 100644 --- a/model/Conference.php +++ b/model/Conference.php @@ -23,7 +23,7 @@ class Conference extends ModelBase if($closed == "before") return false; - else if($closed == "running") + else if($closed == "running" || $closed == "after") return true; } @@ -36,7 +36,8 @@ class Conference extends ModelBase if($closed == "after" || $closed === true) return true; - else if($closed == "running" || $closed === false) + else if($closed == "running" || $closed == "before" || + $closed === false) return false; } |