aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/objects/list
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layout/objects/list')
-rw-r--r--views/default/layout/objects/list/body.php10
-rw-r--r--views/default/layout/objects/list/metadata.php2
2 files changed, 6 insertions, 6 deletions
diff --git a/views/default/layout/objects/list/body.php b/views/default/layout/objects/list/body.php
index 6cbaa2c20..187cc9690 100644
--- a/views/default/layout/objects/list/body.php
+++ b/views/default/layout/objects/list/body.php
@@ -19,7 +19,7 @@
$entity = $vars['entity'];
-$title_link = elgg_get_array_value('title', $vars, '');
+$title_link = elgg_extract('title', $vars, '');
if ($title_link === '') {
if (isset($entity->title)) {
$text = $entity->title;
@@ -33,11 +33,11 @@ if ($title_link === '') {
$title_link = elgg_view('output/url', $params);
}
-$metadata = elgg_get_array_value('metadata', $vars, '');
-$subtitle = elgg_get_array_value('subtitle', $vars, '');
-$content = elgg_get_array_value('content', $vars, '');
+$metadata = elgg_extract('metadata', $vars, '');
+$subtitle = elgg_extract('subtitle', $vars, '');
+$content = elgg_extract('content', $vars, '');
-$tags = elgg_get_array_value('tags', $vars, '');
+$tags = elgg_extract('tags', $vars, '');
if ($tags !== false) {
$tag_text = elgg_view('output/tags', array('tags' => $entity->tags));
if ($tag_text) {
diff --git a/views/default/layout/objects/list/metadata.php b/views/default/layout/objects/list/metadata.php
index bb708b5ee..3ce3573b9 100644
--- a/views/default/layout/objects/list/metadata.php
+++ b/views/default/layout/objects/list/metadata.php
@@ -8,7 +8,7 @@
*/
$entity = $vars['entity'];
-$handler = elgg_get_array_value('handler', $vars, '');
+$handler = elgg_extract('handler', $vars, '');
?>
<ul class="elgg-list-metadata">