aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 1f02d29d2..5214e96c3 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -1043,7 +1043,7 @@ function elgg_view_image_block($image, $body, $vars = array()) {
*/
function elgg_view_listing($icon, $info) {
elgg_deprecated_notice('elgg_view_listing deprecated by elgg_view_image_block', 1.8);
- return elgg_view('layout/objects/media', array('icon' => $icon, 'body' => $info));
+ return elgg_view('layout/objects/image_block', array('image' => $icon, 'body' => $info));
}
/**