summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorEric Roberts <eric@cryode.com>2013-01-17 04:32:51 +0100
committerEric Roberts <eric@cryode.com>2013-01-17 04:32:51 +0100
commitbd6faca03fc7934a0ad1cff8584bfb49d2a43d49 (patch)
tree51e68684755b42a32e5a709479835be0fb891f9c /system/core
parent7a4fb63a43392fc1cf5a5ead32ad81451c53dc67 (diff)
parentb26bb6ef76eb2f8327dafe085ae6bca14c22160b (diff)
Merge branch 'develop' of https://github.com/EllisLab/CodeIgniter into feature/output-cache-improvements
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Loader.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 4d95d6288..1ad07f1fa 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -205,7 +205,7 @@ class CI_Loader {
return;
}
- if ( ! is_null($params) && ! is_array($params))
+ if ($params !== NULL && ! is_array($params))
{
$params = NULL;
}
@@ -975,7 +975,7 @@ class CI_Loader {
// Before we deem this to be a duplicate request, let's see
// if a custom object name is being supplied. If so, we'll
// return a new instance of the object
- if ( ! is_null($object_name))
+ if ($object_name !== NULL)
{
$CI =& get_instance();
if ( ! isset($CI->$object_name))
@@ -1014,7 +1014,7 @@ class CI_Loader {
// Before we deem this to be a duplicate request, let's see
// if a custom object name is being supplied. If so, we'll
// return a new instance of the object
- if ( ! is_null($object_name))
+ if ($object_name !== NULL)
{
$CI =& get_instance();
if ( ! isset($CI->$object_name))
@@ -1144,7 +1144,7 @@ class CI_Loader {
// Was a custom class name supplied? If so we'll use it
$class = strtolower($class);
- if (is_null($object_name))
+ if ($object_name === NULL)
{
$classvar = isset($this->_ci_varmap[$class]) ? $this->_ci_varmap[$class] : $class;
}