From c08bca02bd982e0ad8255b4ba1836e10125a1783 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 31 Jul 2008 16:15:37 +0000 Subject: Counts now update when you save a friends collection git-svn-id: https://code.elgg.org/elgg/trunk@1638 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/friends/collection.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views/default/friends/collection.php') diff --git a/views/default/friends/collection.php b/views/default/friends/collection.php index 438d82e8c..09a684fac 100644 --- a/views/default/friends/collection.php +++ b/views/default/friends/collection.php @@ -17,8 +17,8 @@ */ $coll = $vars['collection']; - - if (is_array($vars['collection']->entities)) { + + if (is_array($vars['collection']->members)) { $count = sizeof($vars['collection']->members); } else { $count = 0; @@ -32,7 +32,7 @@ echo ""; echo $coll->name; - echo " ({$count}) "; + echo " ({$count}) "; // individual collection panels if($friends = $vars['collection']->entities){ -- cgit v1.2.3