Skip to content
Snippets Groups Projects
Commit 33578dfb authored by Demian Katz's avatar Demian Katz Committed by André Lahmann
Browse files

Eliminated unnecessary highlight call.

parent d08a9051
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