diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
commit | 9ce11d138f9868b872fe8206dbc3c2f44723605a (patch) | |
tree | 273a2aed762c62eea3ac329649b42326a2d91438 /views/default/layout/objects/image_block.php | |
parent | 76e70b79acc60358a7225c0976fd6b7f2fe3c74f (diff) | |
download | elgg-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/image_block.php')
-rw-r--r-- | views/default/layout/objects/image_block.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/default/layout/objects/image_block.php b/views/default/layout/objects/image_block.php index 1aecccf28..a7f480aef 100644 --- a/views/default/layout/objects/image_block.php +++ b/views/default/layout/objects/image_block.php @@ -19,12 +19,12 @@ * @uses $vars['id'] Optional id for the media element */ -$body = elgg_get_array_value('body', $vars, ''); -$image = elgg_get_array_value('image', $vars, ''); -$alt_image = elgg_get_array_value('image_alt', $vars, ''); +$body = elgg_extract('body', $vars, ''); +$image = elgg_extract('image', $vars, ''); +$alt_image = elgg_extract('image_alt', $vars, ''); $class = 'elgg-image-block'; -$additional_class = elgg_get_array_value('class', $vars, ''); +$additional_class = elgg_extract('class', $vars, ''); if ($additional_class) { $class = "$class $additional_class"; } |