diff options
Diffstat (limited to 'application/models/GroupRequest.php')
| -rw-r--r-- | application/models/GroupRequest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/models/GroupRequest.php b/application/models/GroupRequest.php index fbf6b20..8a6abe1 100644 --- a/application/models/GroupRequest.php +++ b/application/models/GroupRequest.php @@ -90,7 +90,7 @@ class Application_Model_GroupRequest { $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(); @@ -98,7 +98,7 @@ class Application_Model_GroupRequest { $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)) { |
