From 33578dfbaf31400a5fb546b31f8dc411b6d4bed4 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Tue, 5 May 2015 15:40:47 -0400 Subject: [PATCH] Eliminated unnecessary highlight call. --- .../bootstrap3/templates/Recommend/RandomRecommend.phtml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/themes/bootstrap3/templates/Recommend/RandomRecommend.phtml b/themes/bootstrap3/templates/Recommend/RandomRecommend.phtml index 4e6321917f4..2d85d3a51f6 100644 --- a/themes/bootstrap3/templates/Recommend/RandomRecommend.phtml +++ b/themes/bootstrap3/templates/Recommend/RandomRecommend.phtml @@ -49,12 +49,8 @@ <? if (!empty($summAuthor)): ?> <a class="small text-right" href="<?=$this->record($driver)->getLink('author', $summAuthor)?>"> <span><?=$this->transEsc('By')?></span> - <? - $summHighlightedAuthor = $driver->getHighlightedAuthor(); - echo !empty($summHighlightedAuthor) - ? $this->highlight($summHighlightedAuthor) - : $this->escapeHtml($summAuthor); - ?></a> + <?=$this->escapeHtml($summAuthor)?> + </a> <? endif; ?> </li> <? endforeach; ?> -- GitLab