diff options
Diffstat (limited to 'application/models/BootMenu.php')
| -rw-r--r-- | application/models/BootMenu.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/models/BootMenu.php b/application/models/BootMenu.php index c027312..3b8823b 100644 --- a/application/models/BootMenu.php +++ b/application/models/BootMenu.php @@ -113,7 +113,7 @@ class Application_Model_BootMenu { $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(); @@ -121,7 +121,7 @@ class Application_Model_BootMenu { $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)) { |
