aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 2d50fe946..0cbd538a6 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -77,7 +77,7 @@
}
// No, so see if its in the meta data for this entity
- if (isset($this->guid)) {
+ if ((int) ($this->guid) > 0) {
$meta = $this->getMetaData($name);
if ($meta)
return $meta;