aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/objects/module.php
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/module.php
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/module.php')
-rw-r--r--views/default/layout/objects/module.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/default/layout/objects/module.php b/views/default/layout/objects/module.php
index 5f1273ddd..f7b9da59c 100644
--- a/views/default/layout/objects/module.php
+++ b/views/default/layout/objects/module.php
@@ -11,14 +11,14 @@
* @uses $vars['show_inner'] Optional flag to leave out inner div (default: false)
*/
-$title = elgg_get_array_value('title', $vars, '');
-$header = elgg_get_array_value('header', $vars, '');
-$body = elgg_get_array_value('body', $vars, '');
-$footer = elgg_get_array_value('footer', $vars, '');
-$show_inner = elgg_get_array_value('show_inner', $vars, false);
+$title = elgg_extract('title', $vars, '');
+$header = elgg_extract('header', $vars, '');
+$body = elgg_extract('body', $vars, '');
+$footer = elgg_extract('footer', $vars, '');
+$show_inner = elgg_extract('show_inner', $vars, false);
$class = 'elgg-module';
-$additional_class = elgg_get_array_value('class', $vars, '');
+$additional_class = elgg_extract('class', $vars, '');
if ($additional_class) {
$class = "$class $additional_class";
}