diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-21 17:08:06 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-21 17:08:06 +0000 |
commit | d5fc2ec8fb6dfccc80e3c650f49b39dd2a18c220 (patch) | |
tree | 18c2283c0459b57a7df6482e9e48cbbd163837a7 /mod/opendd/viewuuid.php | |
parent | 3b8e6d855a0b60c2d44871341e4b36b61969c0aa (diff) | |
download | elgg-d5fc2ec8fb6dfccc80e3c650f49b39dd2a18c220.tar.gz elgg-d5fc2ec8fb6dfccc80e3c650f49b39dd2a18c220.tar.bz2 |
OpenDD using elgg_view_title
git-svn-id: https://code.elgg.org/elgg/trunk@1485 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/opendd/viewuuid.php')
-rw-r--r-- | mod/opendd/viewuuid.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/opendd/viewuuid.php b/mod/opendd/viewuuid.php index 8da644c96..fdda2434a 100644 --- a/mod/opendd/viewuuid.php +++ b/mod/opendd/viewuuid.php @@ -17,20 +17,20 @@ // Fetch the UUID as an object $odd = opendd_fetch_uuid($uuid); - $body = ""; + $body = elgg_view_title($uuid); foreach ($odd as $o) { if ($o instanceof ODDMetaData) { if (($o->getAttribute('name') == 'renderedentity') && ($o->getAttribute('type')=='volatile')) - $body = $o->getBody(); + $body .= $o->getBody(); } } if ($body=="") { $entity = opendd_odd_to_elgg($odd); - $body = elgg_view_entity($entity, true); + $body .= elgg_view_entity($entity, true); } $body = elgg_view_layout('one_column',$body); |