From ae6e0093ba62cc6e69f6aa41d4f163de52747418 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 6 Feb 2011 22:12:56 +0000 Subject: updated the file plugin to use the new icon structure git-svn-id: http://code.elgg.org/elgg/trunk@8051 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/views.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/lib/views.php') diff --git a/engine/lib/views.php b/engine/lib/views.php index d76456d83..bc9a6fd14 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -810,6 +810,9 @@ function elgg_view_entity_icon(ElggEntity $entity, $size = 'medium', $vars = arr if (empty($contents)) { $contents = elgg_view("icon/$entity_type/default", $vars); } + if (empty($contents)) { + $contents = elgg_view("icon/default", $vars); + } return $contents; } -- cgit v1.2.3