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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 34b73b580..2d50fe946 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -115,7 +115,7 @@
$this->attributes[$name] = $value;
}
- else if (isset($this->guid)) {
+ else if ((int) $this->guid > 0) {
return $this->setMetaData($name, $value);
} else {
$this->temp_metadata[$name] = $value;