fix undefined var
This commit is contained in:
parent
7458dc7fae
commit
8c62bc536d
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@
|
|||
{foreach from=$resultCat.results item=result}
|
||||
<tr>
|
||||
<td class="resultLeft" height="20" width="90">{if $first}{assign var=first value=false}{text value=$resultCat.title}{else} {/if}</td>
|
||||
<td class="resultRight" onclick="{if $result.extLink}window.open('{$result.extLink}');{else}document.location.href='{$result.link}sid={$sid}';{/if}parent.hideSearchPopup(true);" title="{text value=$result.excerpt allowEmpty=true stripTags=true}">
|
||||
<i class="fa {if $result.icon}{$result.icon}{else}{$resultCat.icon}{/if}" aria-hidden="true"></i>
|
||||
<td class="resultRight" onclick="{if !empty($result.extLink)}window.open('{$result.extLink}');{else}document.location.href='{$result.link}sid={$sid}';{/if}parent.hideSearchPopup(true);" title="{text value=$result.excerpt allowEmpty=true stripTags=true}">
|
||||
<i class="fa {if !empty($result.icon)}{$result.icon}{else}{$resultCat.icon}{/if}" aria-hidden="true"></i>
|
||||
{text value=$result.title cut=25}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue