aboutsummaryrefslogtreecommitdiff
path: root/mod/search/views/default/search/entity.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/search/views/default/search/entity.php')
-rw-r--r--mod/search/views/default/search/entity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/search/views/default/search/entity.php b/mod/search/views/default/search/entity.php
index 2193a70d8..e04d08836 100644
--- a/mod/search/views/default/search/entity.php
+++ b/mod/search/views/default/search/entity.php
@@ -27,7 +27,7 @@ if (!$icon) {
} else {
// display a generic icon if no owner, though there will probably be
// other problems if the owner can't be found.
- $icon = elgg_view_entity($entity, 'tiny');
+ $icon = elgg_view_entity_icon($entity, 'tiny');
}
}