Added missing name attribute
authorMarcel Werk <burntime@woltlab.com>
Sat, 31 Aug 2019 16:02:58 +0000 (18:02 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sat, 31 Aug 2019 16:02:58 +0000 (18:02 +0200)
com.woltlab.wcf/templates/articleListItems.tpl

index 3d487d6e3a882af39debd6628fb2120c1911d885..64682d77e95629065c6b65aa241a5f5137111c84 100644 (file)
@@ -1,7 +1,7 @@
 {if !$disableAds|isset}{assign var='disableAds' value=false}{/if}
 
 <div class="contentItemList">
-       {foreach from=$objects item='article'}
+       {foreach from=$objects item='article' name='articles'}
                <article class="contentItem contentItemMultiColumn" role="article">
                        <a href="{$article->getLink()}" class="contentItemLink">
                                <div class="contentItemImage contentItemImageLarge" style="background-image: url({if $article->getImage()}{$article->getImage()->getThumbnailLink('medium')}{else}{$__wcf->getStyleHandler()->getStyle()->getCoverPhotoURL()}{/if})">