aboutsummaryrefslogtreecommitdiff
path: root/command
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--command/download.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/command/download.php b/command/download.php
index 2cf997e..d761ff3 100644
--- a/command/download.php
+++ b/command/download.php
@@ -36,6 +36,9 @@ if(isset($conf['MAX_CONFERENCE_AGE']))
return true;
}
+ if($conference->endsAt() == null)
+ return false;
+
$isBefore = $conference->endsAt() < $conferencesAfter;
if($isBefore) {