diff options
author | knut <> | 2008-07-30 01:43:12 +0000 |
---|---|---|
committer | knut <> | 2008-07-30 01:43:12 +0000 |
commit | 411fbb72f5a4c72e43af08ee403c79c73eb4b53f (patch) | |
tree | 3915b0d98ca3c0608b56ad280cb08b8837a43dea /framework/I18N/core/CultureInfo.php | |
parent | d15b608ef693c8dbc92c3a5f5ae826ca2812a61f (diff) |
fixed #890
Diffstat (limited to 'framework/I18N/core/CultureInfo.php')
-rw-r--r-- | framework/I18N/core/CultureInfo.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/I18N/core/CultureInfo.php b/framework/I18N/core/CultureInfo.php index 41b3bf45..31404a23 100644 --- a/framework/I18N/core/CultureInfo.php +++ b/framework/I18N/core/CultureInfo.php @@ -375,7 +375,7 @@ class CultureInfo */
function getDateTimeFormat()
{
- if(is_null($this->dateTimeFormat))
+ if($this->dateTimeFormat === null)
{
$calendar = $this->getCalendar();
$info = $this->findInfo("calendar/{$calendar}", true);
@@ -455,7 +455,7 @@ class CultureInfo static function getInvariantCulture()
{
static $invariant;
- if(is_null($invariant))
+ if($invariant === null)
$invariant = new CultureInfo();
return $invariant;
}
@@ -478,7 +478,7 @@ class CultureInfo */
function getNumberFormat()
{
- if(is_null($this->numberFormat))
+ if($this->numberFormat === null)
{
$elements = $this->findInfo('NumberElements');
$patterns = $this->findInfo('NumberPatterns');
|