diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/views.php | 3 |
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; } |