diff options
Diffstat (limited to 'mod/embed/views/default/embed/layouts/gallery.php')
-rw-r--r-- | mod/embed/views/default/embed/layouts/gallery.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/embed/views/default/embed/layouts/gallery.php b/mod/embed/views/default/embed/layouts/gallery.php index b24fcec24..5ef564017 100644 --- a/mod/embed/views/default/embed/layouts/gallery.php +++ b/mod/embed/views/default/embed/layouts/gallery.php @@ -5,8 +5,8 @@ * @uses string $vars['content'] Pre-formatted content. * */ -$active_section = elgg_get_array_value('section', $vars, array()); +$active_section = elgg_extract('section', $vars, array()); -$content = "<div class='embed_modal_".$active_section."'>" . elgg_get_array_value('content', $vars, '') . "</div>"; +$content = "<div class='embed_modal_".$active_section."'>" . elgg_extract('content', $vars, '') . "</div>"; echo $content;
\ No newline at end of file |