From b11342a52fa56601afe9c55287021cb595e19782 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Wed, 2 May 2018 15:48:30 -0400 Subject: [PATCH] Bug fix -- do not leave tags open. --- themes/bootstrap3/templates/channels/channelList.phtml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/themes/bootstrap3/templates/channels/channelList.phtml b/themes/bootstrap3/templates/channels/channelList.phtml index 2e00f8c1073..33502f211b8 100644 --- a/themes/bootstrap3/templates/channels/channelList.phtml +++ b/themes/bootstrap3/templates/channels/channelList.phtml @@ -58,3 +58,7 @@ <li><a href="<?=current(explode('?', $this->serverUrl(true)))?>?<?=empty($queryParams) ? '' : $this->escapeHtmlAttr($queryParams . '&')?>channelProvider=<?=urlencode($channel['providerId']) ?>&channelToken=<?=urlencode($channel['token']) ?>&layout=lightbox" data-token="<?=$channel['token'] ?>"><?=$this->escapeHtml($channel['title'])?></a></li> <?php endif; ?> <?php endforeach; ?> +<?php if ($insideButton): // close final button if necessary ?> + </ul> + </div> +<?php endif; ?> \ No newline at end of file -- GitLab