aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordedeibel2018-12-28 21:48:16 +0100
committerdedeibel2018-12-28 21:48:16 +0100
commit71792b6b56ea48327debffdc6743a521d65bb035 (patch)
tree615f55fbb2058a243d5d4173d9e8f63a9ce25508
parentddb812a97654b341da2d35d4695f970b3b555dcb (diff)
Schedule view show "by" only if speaker is nonempty.
Diffstat (limited to '')
-rw-r--r--template/assemblies/schedule.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/assemblies/schedule.phtml b/template/assemblies/schedule.phtml
index 4a737da..f160721 100644
--- a/template/assemblies/schedule.phtml
+++ b/template/assemblies/schedule.phtml
@@ -51,7 +51,7 @@
<h3>
<?=h($event['title'])?><? if (@$event['optout']): ?><i> (no stream)</i><? endif ?>
</h3>
- <? if($event['speaker']): ?>
+ <? if(! empty(trim($event['speaker']))): ?>
<h5>by&nbsp;<?=h($event['speaker'])?></h5>
<? endif ?>
<? endif ?>