summaryrefslogtreecommitdiffstats
path: root/application/models/Membership.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/models/Membership.php')
-rw-r--r--application/models/Membership.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/models/Membership.php b/application/models/Membership.php
index 2057f5f..21a9f63 100644
--- a/application/models/Membership.php
+++ b/application/models/Membership.php
@@ -106,7 +106,7 @@ class Application_Model_Membership {
$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();
@@ -114,7 +114,7 @@ class Application_Model_Membership {
$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)) {