catch all cases of $closed

This commit is contained in:
Florian Larysch 2015-09-02 16:54:42 +02:00
parent fbd52e74a2
commit 79f010f5c3

View file

@ -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;
}