aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-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 e3dbf9b60..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);
- print_r($md);
- echo $md->value;
+
if ($md)
return $md->value;