fix undefined array key strike

This commit is contained in:
Sebijk 2023-11-03 08:29:05 +01:00
parent 5c17ac91b7
commit dfb82c6ef1

View file

@ -54,14 +54,14 @@
</td>
<td nowrap="nowrap" style="padding:4px;">
<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}">
<div style="text-overflow:ellipsis;overflow:hidden;{if !empty($result.bold)}font-weight:bold;{/if}{if !empty($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}
</a>
</td>
<td width="130"><span style="{if !empty($result.bold)}font-weight:bold;{/if}{if $result.strike}text-decoration:line-through;{/if}">{if $result.date}{date timestamp=$result.date nice=true}{/if}</span></td>
<td width="75"><span style="{if !empty($result.bold)}font-weight:bold;{/if}{if $result.strike}text-decoration:line-through;{/if}">{if $result.size||$result.size===0}{size bytes=$result.size}{/if}</span></td>
<td width="130"><span style="{if !empty($result.bold)}font-weight:bold;{/if}{if !empty($result.strike)}text-decoration:line-through;{/if}">{if $result.date}{date timestamp=$result.date nice=true}{/if}</span></td>
<td width="75"><span style="{if !empty($result.bold)}font-weight:bold;{/if}{if !empty($result.strike)}text-decoration:line-through;{/if}">{if $result.size||$result.size===0}{size bytes=$result.size}{/if}</span></td>
<td style="text-align:center;">{if !empty($result.score)}{$result.score} %{else}-{/if}</td>
</tr>
{/foreach}