diff options
| author | Daniel Molkentin | 2020-04-30 16:11:35 +0000 | 
|---|---|---|
| committer | Daniel Molkentin | 2020-04-30 16:11:35 +0000 | 
| commit | df9927bc9cc0702c88f2ae06d0f6a94eb486e5c4 (patch) | |
| tree | 3a9f893dca5e327c2695e4fe81d7c614b4da1b63 /template | |
| parent | 0ff6af6b0dcc180bedcf1837bc7d015951f44e0c (diff) | |
Fix deref of null object that breaks in PHP 7.4
Diffstat (limited to '')
| -rw-r--r-- | template/closed.phtml | 2 | 
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 ?> | 
