aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/closed.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/closed.phtml b/template/closed.phtml
index 917cc7c..e56f379 100644
--- a/template/closed.phtml
+++ b/template/closed.phtml
@@ -1,5 +1,5 @@
<div class="container about">
- <? if($conference->getTitle() != $next['name']): ?>
+ <? if ($next != null && $conference->getTitle() != $next['name']): ?>
<h1><?=h($conference->getTitle())?> is over!</h1>
<? endif ?>