Skip to content
Snippets Groups Projects
Commit b11dab1c authored by Demian Katz's avatar Demian Katz
Browse files

Eliminated unnecessary highlight call.

parent 9a1f593f
No related merge requests found
...@@ -49,12 +49,8 @@ ...@@ -49,12 +49,8 @@
<? if (!empty($summAuthor)): ?> <? if (!empty($summAuthor)): ?>
<a class="small text-right" href="<?=$this->record($driver)->getLink('author', $summAuthor)?>"> <a class="small text-right" href="<?=$this->record($driver)->getLink('author', $summAuthor)?>">
<span><?=$this->transEsc('By')?></span> <span><?=$this->transEsc('By')?></span>
<? <?=$this->escapeHtml($summAuthor)?>
$summHighlightedAuthor = $driver->getHighlightedAuthor(); </a>
echo !empty($summHighlightedAuthor)
? $this->highlight($summHighlightedAuthor)
: $this->escapeHtml($summAuthor);
?></a>
<? endif; ?> <? endif; ?>
</li> </li>
<? endforeach; ?> <? endforeach; ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment