aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-21 18:00:18 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-21 18:00:18 +0000
commit5ea5c8f55b7560ac41bcf529482e6ac771b71ae0 (patch)
treeba7b2fcd8425627b8d05e958ea8ce9f64167aa56
parent5c8613af8c97453209eab4189d46c01f86168741 (diff)
downloadelgg-5ea5c8f55b7560ac41bcf529482e6ac771b71ae0.tar.gz
elgg-5ea5c8f55b7560ac41bcf529482e6ac771b71ae0.tar.bz2
And again
git-svn-id: https://code.elgg.org/elgg/trunk@676 36083f99-b078-4883-b0ff-0f9b5a30f544
-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;