summaryrefslogtreecommitdiffstats
path: root/application/models/BootMenuEntries.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/models/BootMenuEntries.php')
-rw-r--r--application/models/BootMenuEntries.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/models/BootMenuEntries.php b/application/models/BootMenuEntries.php
index f9bbe07..0da49b3 100644
--- a/application/models/BootMenuEntries.php
+++ b/application/models/BootMenuEntries.php
@@ -120,7 +120,7 @@ class Application_Model_BootMenuEntries {
$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();
@@ -128,7 +128,7 @@ class Application_Model_BootMenuEntries {
$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)) {