From 197d7f7aea7f39cc9b0c817b7c3debf04340bb84 Mon Sep 17 00:00:00 2001 From: icewing Date: Wed, 2 Apr 2008 11:05:20 +0000 Subject: Marcus Povey * REMOVED DEBUG * WARNING!!! THERE IS A PHP BUG ON UBUNTU/APACHE2/PHP5 that will prevent metadata from functioning. Values appear to get unset. No fix known. git-svn-id: https://code.elgg.org/elgg/trunk@354 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index c463f5227..cff2f03a6 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -114,10 +114,10 @@ { $md = get_metadata_byname($this->getGUID(), $name); - // if ($md) + if ($md) return $md->value; - // return null; + return null; } /** -- cgit v1.2.3