From b7f936eb20091303faaebf4c128f0ff9aeb5567f Mon Sep 17 00:00:00 2001 From: Marcel Werk <burntime@woltlab.com> Date: Thu, 17 May 2018 23:47:02 +0200 Subject: [PATCH] Fixed missing teaser image in article boxes Closes #2564 --- com.woltlab.wcf/templates/boxArticleList.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/com.woltlab.wcf/templates/boxArticleList.tpl b/com.woltlab.wcf/templates/boxArticleList.tpl index 3dfc32ca1c..b562cbc35d 100644 --- a/com.woltlab.wcf/templates/boxArticleList.tpl +++ b/com.woltlab.wcf/templates/boxArticleList.tpl @@ -3,7 +3,7 @@ {foreach from=$boxArticleList item=boxArticle} <li> <a href="{$boxArticle->getLink()}" class="box64"> - <span>{if $boxArticle->getImage()}{@$boxArticle->getImage()->getElementTag(64)}{/if}</span> + <span>{if $boxArticle->getTeaserImage()}{@$boxArticle->getTeaserImage()->getElementTag(64)}{/if}</span> <div> <h3>{$boxArticle->getTitle()}</h3> @@ -32,8 +32,8 @@ {foreach from=$boxArticleList item=boxArticle} <li> <a href="{$boxArticle->getLink()}"> - {if $boxArticle->getImage() && $boxArticle->getImage()->hasThumbnail('small')} - <div class="articleListImage">{@$boxArticle->getImage()->getThumbnailTag('small')}</div> + {if $boxArticle->getTeaserImage() && $boxArticle->getTeaserImage()->hasThumbnail('small')} + <div class="articleListImage">{@$boxArticle->getTeaserImage()->getThumbnailTag('small')}</div> {/if} <h3 class="articleListTitle">{$boxArticle->getTitle()}</h3> -- 2.20.1