From 9ce11d138f9868b872fe8206dbc3c2f44723605a Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 15 Feb 2011 01:05:45 +0000 Subject: Fixes #2808: elgg_get_array_value => elgg_extract git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/layout/objects/module.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'views/default/layout/objects/module.php') 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"; } -- cgit v1.2.3