From d9d215a4a116dce855582c319303f87462b972b3 Mon Sep 17 00:00:00 2001 From: spiderr Date: Wed, 20 Jan 2021 07:45:47 -0500 Subject: PHP7 implements Countable check --- templates/page_icons.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/page_icons.tpl b/templates/page_icons.tpl index cd49496..67a3ae1 100644 --- a/templates/page_icons.tpl +++ b/templates/page_icons.tpl @@ -85,7 +85,7 @@ {/if} - {if count($showstructs) gt 0} + {if $showstructs && (count($showstructs) gt 0)}