diff options
Diffstat (limited to 'application/models/Session.php')
| -rw-r--r-- | application/models/Session.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/models/Session.php b/application/models/Session.php index a2ff24a..302bb30 100644 --- a/application/models/Session.php +++ b/application/models/Session.php @@ -146,7 +146,7 @@ class Application_Model_Session { $result = array(); foreach ($properties as $property) { $key = $property->name; - if (substr($key, 0, 1) != '_' && $this->$key != = null) { + if (substr($key, 0, 1) != '_' && $this->$key !== null) { $method = 'get' . ucfirst($key); if ($reflectionClass->hasMethod($method)) { $result[$key] = $this->$method(); @@ -154,7 +154,7 @@ class Application_Model_Session { $result[$key] = $this->$key; } } - elseif(substr($key, 0, 1) == '_' && $this->$key != = null) { + elseif(substr($key, 0, 1) == '_' && $this->$key !== null) { $key = substr($key, 1); $method = 'get' . ucfirst($key); if ($reflectionClass->hasMethod($method)) { |
