summaryrefslogtreecommitdiff
path: root/framework/PradoBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/PradoBase.php')
-rw-r--r--framework/PradoBase.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/PradoBase.php b/framework/PradoBase.php
index 2fba2ffd..203dc667 100644
--- a/framework/PradoBase.php
+++ b/framework/PradoBase.php
@@ -414,7 +414,7 @@ class PradoBase
echo 'array(' . count($item) . ')';
else if (is_bool($item))
echo $item ? 'true' : 'false';
- else if (is_null($item))
+ else if ($item === null)
echo 'NULL';
else if (is_resource($item))
echo get_resource_type($item);
@@ -571,9 +571,9 @@ class PradoBase
//no translation handler provided
if($app===null || ($config = $app->getTranslationConfiguration())===null)
return strtr($text, $params);
-
- if ($catalogue===null)
- $catalogue=isset($config['catalogue'])?$config['catalogue']:'messages';
+
+ if ($catalogue===null)
+ $catalogue=isset($config['catalogue'])?$config['catalogue']:'messages';
Translation::init($catalogue);