aboutsummaryrefslogtreecommitdiff
path: root/template/closed.phtml
diff options
context:
space:
mode:
authorDaniel Molkentin2020-04-30 16:11:35 +0000
committerDaniel Molkentin2020-04-30 18:15:37 +0200
commite6ca9b0f5976eea5cf2eb1d8be2f155f69897831 (patch)
tree3a9f893dca5e327c2695e4fe81d7c614b4da1b63 /template/closed.phtml
parent0ff6af6b0dcc180bedcf1837bc7d015951f44e0c (diff)
Fix deref of null object that breaks in PHP 7.4
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 ?>