summaryrefslogtreecommitdiff
path: root/framework/I18N/TNumberFormat.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/I18N/TNumberFormat.php')
-rw-r--r--framework/I18N/TNumberFormat.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/I18N/TNumberFormat.php b/framework/I18N/TNumberFormat.php
index 62b43243..1f33e6e4 100644
--- a/framework/I18N/TNumberFormat.php
+++ b/framework/I18N/TNumberFormat.php
@@ -220,7 +220,7 @@ class TNumberFormat extends TI18NControl implements IDataRenderer
$app = $this->getApplication()->getGlobalization();
//initialized the default class wide formatter
- if(is_null(self::$formatter))
+ if(self::$formatter===null)
self::$formatter = new NumberFormat($app->getCulture());
$pattern = strlen($this->getPattern()) > 0