From: Matthias Schmidt Date: Mon, 26 Dec 2011 22:10:35 +0000 (+0100) Subject: Use strict comparision X-Git-Tag: 2.0.0_Beta_1~1472^2~3^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=940b888ad310ee9b00f1647afc6b07fd876ff53c;p=GitHub%2FWoltLab%2FWCF.git Use strict comparision --- 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']); }