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}
|
{foreach from=$resultCat.results item=result}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="resultLeft" height="20" width="90">{if $first}{assign var=first value=false}{text value=$resultCat.title}{else} {/if}</td>
|
<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}">
|
<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 $result.icon}{$result.icon}{else}{$resultCat.icon}{/if}" aria-hidden="true"></i>
|
<i class="fa {if !empty($result.icon)}{$result.icon}{else}{$resultCat.icon}{/if}" aria-hidden="true"></i>
|
||||||
{text value=$result.title cut=25}
|
{text value=$result.title cut=25}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue