Fixed PHP7.2 issue
authorMarcel Werk <burntime@woltlab.com>
Thu, 7 Dec 2017 18:15:53 +0000 (19:15 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 7 Dec 2017 18:15:53 +0000 (19:15 +0100)
com.woltlab.wcf/templates/article.tpl

index 72fed566b1281a76b58e21df147e86721fe8b7c0..217048e57ef559c2ffba001e9230892baba9cf44 100644 (file)
        </div>
 {/if}
 
-{if $relatedArticles|count}
+{if $relatedArticles !== null && $relatedArticles|count}
        <section class="section relatedArticles">
                <h2 class="sectionTitle">{lang}wcf.article.relatedArticles{/lang}</h2>