aboutsummaryrefslogtreecommitdiff
path: root/views/default/friends/tablelist.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/friends/tablelist.php')
-rw-r--r--views/default/friends/tablelist.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/default/friends/tablelist.php b/views/default/friends/tablelist.php
index 716e1cb35..a304e8fda 100644
--- a/views/default/friends/tablelist.php
+++ b/views/default/friends/tablelist.php
@@ -24,7 +24,8 @@
$column = 0;
foreach($vars['entities'] as $entity) {
-
+ if (!($entity instanceof ElggEntity)) $entity = get_entity($entity);
+ if ($entity) {
?>
<td style="width:25px">
@@ -54,7 +55,7 @@
</table>
<?php
-
+ }
}
?> \ No newline at end of file