aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 2f8653ce2..4277e78e2 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1412,6 +1412,9 @@
if (!($row instanceof stdClass))
return $row;
+ if ((!isset($row->guid)) || (!isset($row->subtype)))
+ return $row;
+
$new_entity = false;
// Create a memcache cache if we can