aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/objects/list
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 01:05:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 01:05:45 +0000
commit9ce11d138f9868b872fe8206dbc3c2f44723605a (patch)
tree273a2aed762c62eea3ac329649b42326a2d91438 /views/default/layout/objects/list
parent76e70b79acc60358a7225c0976fd6b7f2fe3c74f (diff)
downloadelgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.gz
elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.bz2
Fixes #2808: elgg_get_array_value => elgg_extract
git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544
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">