aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 22:12:56 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 22:12:56 +0000
commitae6e0093ba62cc6e69f6aa41d4f163de52747418 (patch)
tree5552c8037d85ec8a0ede1c6a490097a26ee9be24 /engine/lib/views.php
parent125dcdd329b3159808c097f02597e908be3ad8d0 (diff)
downloadelgg-ae6e0093ba62cc6e69f6aa41d4f163de52747418.tar.gz
elgg-ae6e0093ba62cc6e69f6aa41d4f163de52747418.tar.bz2
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
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php3
1 files changed, 3 insertions, 0 deletions
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;
}