From 940b888ad310ee9b00f1647afc6b07fd876ff53c Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 26 Dec 2011 23:10:35 +0100 Subject: [PATCH] Use strict comparision --- .../template/plugin/CounterFunctionTemplatePlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/template/plugin/CounterFunctionTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/CounterFunctionTemplatePlugin.class.php index f99488c38b..dae4ea4a64 100644 --- a/wcfsetup/install/files/lib/system/template/plugin/CounterFunctionTemplatePlugin.class.php +++ b/wcfsetup/install/files/lib/system/template/plugin/CounterFunctionTemplatePlugin.class.php @@ -39,7 +39,7 @@ class CounterFunctionTemplatePlugin implements IFunctionTemplatePlugin { $counter =& $this->counters[$tagArgs['name']]; - if ($counter['assign'] != null) { + if ($counter['assign'] !== null) { $tplObj->assign($counter['assign'], $counter['count']); } -- 2.20.1