fix undefined extlink

This commit is contained in:
Sebijk 2023-09-23 23:09:26 +02:00
parent 4206e26ccb
commit 6b5b84a920

View file

@ -53,8 +53,8 @@
<i class="fa {if !empty($result.icon)}{$result.icon}{else}{$resultCat.icon}{/if}" aria-hidden="true"></i>
</td>
<td nowrap="nowrap" style="padding:4px;">
<a title="{text value=$result.title}" href="{if $result.extLink}{$result.extLink}{else}{$result.link}sid={$sid}{/if}"{if $result.extLink} target="_blank"{/if}>
<div style="text-overflow:ellipsis;overflow:hidden;{if $result.bold}font-weight:bold;{/if}{if $result.strike}text-decoration:line-through;{/if}">
<a title="{text value=$result.title}" href="{if !empty($result.extLink)}{$result.extLink}{else}{$result.link}sid={$sid}{/if}"{if !empty($result.extLink)} target="_blank"{/if}>
<div style="text-overflow:ellipsis;overflow:hidden;{if !empty($result.bold)}font-weight:bold;{/if}{if $result.strike}text-decoration:line-through;{/if}">
{text value=$result.title}
</div>
{if !empty($result.excerpt)}<div style="color:#777;text-overflow:ellipsis;overflow:hidden;">{$result.excerpt}</div>{/if}