From 5ea5c8f55b7560ac41bcf529482e6ac771b71ae0 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 21 May 2008 18:00:18 +0000 Subject: And again git-svn-id: https://code.elgg.org/elgg/trunk@676 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') 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; -- cgit v1.2.3