diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-06-26 06:41:39 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-06-26 06:41:39 -0400 |
commit | b0b197ee2e73974a8b0c080086945383a863410e (patch) | |
tree | 706726a6edcfc7edeb75e7363eadd9a2687d4d62 /views | |
parent | 12a4106d92db1fa3327e0cf32262544181602380 (diff) | |
download | elgg-b0b197ee2e73974a8b0c080086945383a863410e.tar.gz elgg-b0b197ee2e73974a8b0c080086945383a863410e.tar.bz2 |
Fixes #3614 updated use of elgg_view_entity() throughout core
Diffstat (limited to 'views')
-rw-r--r-- | views/default/page/elements/owner_block.php | 2 | ||||
-rw-r--r-- | views/json/entities/entity_list.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/views/default/page/elements/owner_block.php b/views/default/page/elements/owner_block.php index c525a38aa..fc7f0f6d2 100644 --- a/views/default/page/elements/owner_block.php +++ b/views/default/page/elements/owner_block.php @@ -15,7 +15,7 @@ $owner = elgg_get_page_owner_entity(); if ($owner instanceof ElggGroup || ($owner instanceof ElggUser && $owner->getGUID() != elgg_get_logged_in_user_guid())) { - $header = elgg_view_entity($owner, false); + $header = elgg_view_entity($owner, array('full_view' => false)); $body = elgg_view_menu('owner_block', array('entity' => $owner)); diff --git a/views/json/entities/entity_list.php b/views/json/entities/entity_list.php index b583588c3..d5b134a71 100644 --- a/views/json/entities/entity_list.php +++ b/views/json/entities/entity_list.php @@ -4,7 +4,7 @@ $entities = $vars['entities']; $full_view = $vars['full_view']; if (is_array($entities) && sizeof($entities) > 0) { - foreach($entities as $entity) { - echo elgg_view_entity($entity, $full_view); + foreach ($entities as $entity) { + echo elgg_view_entity($entity, array('full_view' => $full_view)); } } |