aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/entities.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 7b5cd22a3..4e201f326 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -281,12 +281,7 @@ abstract class ElggEntity implements
* @return bool
*/
function __isset($name) {
- if ($this->$name!="") {
- return true;
- }
- else {
- return false;
- }
+ return $this->$name !== NULL;
}
/**