diff options
author | dedeibel | 2018-12-28 21:48:16 +0100 |
---|---|---|
committer | dedeibel | 2018-12-28 21:48:16 +0100 |
commit | 71792b6b56ea48327debffdc6743a521d65bb035 (patch) | |
tree | 615f55fbb2058a243d5d4173d9e8f63a9ce25508 | |
parent | ddb812a97654b341da2d35d4695f970b3b555dcb (diff) |
Schedule view show "by" only if speaker is nonempty.
-rw-r--r-- | template/assemblies/schedule.phtml | 2 |
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 <?=h($event['speaker'])?></h5> <? endif ?> <? endif ?> |