diff options
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"; } |