From 5ac58e903ad3be891d9232ba8986d225e368a1b9 Mon Sep 17 00:00:00 2001 From: Jens Hausdorf Date: Wed, 18 Oct 2017 12:14:08 +0200 Subject: [PATCH] fix php 7.2 compatibility problem (#2436) * fix php 7.2 compatibility problem * new approach fixing the problem --- com.woltlab.wcf/templates/article.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.woltlab.wcf/templates/article.tpl b/com.woltlab.wcf/templates/article.tpl index db0a6d04b6..b64ceb5e0d 100644 --- a/com.woltlab.wcf/templates/article.tpl +++ b/com.woltlab.wcf/templates/article.tpl @@ -263,7 +263,7 @@ {/if} -{if $relatedArticles|count} +{if $relatedArticles !== null && $relatedArticles|count}