aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 11:05:20 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 11:05:20 +0000
commit197d7f7aea7f39cc9b0c817b7c3debf04340bb84 (patch)
treeaf5d1772a0c14ac75a0bd0705d4425b64e5c5d0c /engine/lib
parentc61e25ccc22fc4ab0e629d8ff019b210312ded63 (diff)
downloadelgg-197d7f7aea7f39cc9b0c817b7c3debf04340bb84.tar.gz
elgg-197d7f7aea7f39cc9b0c817b7c3debf04340bb84.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* 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
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/entities.php4
1 files changed, 2 insertions, 2 deletions
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;
}
/**