Skip to content

Commit 899d26d

Browse files
authored
Merge pull request #167 from ggoffy/master
fixed bug in tpl
2 parents 9c40e33 + 31ee3b2 commit 899d26d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/blocks/publisher_items_spot.tpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
<{/if}>
99
<{/if}>
1010

11-
<{if $block.display_type|default:'' == block'}>
11+
<{if $block.display_type|default:'' == 'block'}>
1212
<{foreach item=item from=$block.items|default:false}>
1313
<{include file="db:publisher_singleitem_block.tpl" item=$item}>
1414
<{/foreach}>
1515

1616
<{else}>
1717
<{foreach item=item from=$block.items name=spotlight}>
18-
<{if $item.summary|default:'''}>
18+
<{if $item.summary|default:''}>
1919
<div class="itemText" style="padding-left: 5px; padding-top: 5px;">
2020
<div>
2121
<img style="vertical-align: middle;" src="<{$block.publisher_url}>/assets/images/links/doc.png" alt="">&nbsp;<{$item.titlelink}>

0 commit comments

Comments
 (0)