Use strict comparision
authorMatthias Schmidt <gravatronics@live.com>
Mon, 26 Dec 2011 22:10:35 +0000 (23:10 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 26 Dec 2011 22:10:35 +0000 (23:10 +0100)
wcfsetup/install/files/lib/system/template/plugin/CounterFunctionTemplatePlugin.class.php

index f99488c38bf8c8f763aadfb6dadcd6667aeb3cfc..dae4ea4a64f52dba21a1bbaef91e1c88943687f3 100644 (file)
@@ -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']);
                }