aboutsummaryrefslogtreecommitdiff
path: root/views/default/friends/tablelist.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 12:05:03 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 12:05:03 +0000
commit855be2a2b44463da3c9405c25fa1f84848a164fb (patch)
tree1b78c47650566066f04ab7bf227ff23892db8c55 /views/default/friends/tablelist.php
parent85bcd1cf55a895d66b1872d7943dd7daf7aaa1f7 (diff)
downloadelgg-855be2a2b44463da3c9405c25fa1f84848a164fb.tar.gz
elgg-855be2a2b44463da3c9405c25fa1f84848a164fb.tar.bz2
Added friends collections members list
git-svn-id: https://code.elgg.org/elgg/trunk@1595 36083f99-b078-4883-b0ff-0f9b5a30f544
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