aboutsummaryrefslogtreecommitdiff
path: root/views/default/friends/collection.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/friends/collection.php')
-rw-r--r--views/default/friends/collection.php6
1 files changed, 3 insertions, 3 deletions
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 "</div>";
echo $coll->name;
- echo " ({$count}) </h2>";
+ echo " (<span id=\"friends_membership_count{$vars['friendspicker']}\">{$count}</span>) </h2>";
// individual collection panels
if($friends = $vars['collection']->entities){