aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 10:53:56 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 10:53:56 +0000
commit13821437caccdfc1862a6cc70a87db3d2a3bcefc (patch)
treeeef8603ad414414763c17324b66cd7d3cb102641 /engine/lib/entities.php
parent5376ff1818cca5d7df7c5ffd674274a50815a38e (diff)
downloadelgg-13821437caccdfc1862a6cc70a87db3d2a3bcefc.tar.gz
elgg-13821437caccdfc1862a6cc70a87db3d2a3bcefc.tar.bz2
git-svn-id: https://code.elgg.org/elgg/trunk@349 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 19bce724e..cff2f03a6 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -113,8 +113,7 @@
public function getMetaData($name)
{
$md = get_metadata_byname($this->getGUID(), $name);
-echo $md->value;
-if ($md) echo "TRUE";
+
if ($md)
return $md->value;