]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #4580 - cleaned up the spaces/tabs issue with the pull request and no longer...
authorCash Costello <cash.costello@gmail.com>
Sat, 30 Jun 2012 03:44:44 +0000 (23:44 -0400)
committerCash Costello <cash.costello@gmail.com>
Sat, 30 Jun 2012 03:44:44 +0000 (23:44 -0400)
mod/notifications/views/default/notifications/subscriptions/collections.php

index 8ce77c4b2115d3ce52ab66709f7b8a92e15cc5e5..207b2e3b95929169300fa196209fbe907587673f 100644 (file)
@@ -101,13 +101,16 @@ END;
 <?php
 
        if ($collections = get_user_access_collections($user->guid)) {
-               foreach($collections as $collection) {
+               foreach ($collections as $collection) {
                        $members = get_members_of_access_collection($collection->id, true);
-      $memberno = 0;
-      if ($members) {
-        $memberno = sizeof($members);
-      }
-                       $members = implode(',', $members);
+                       $memberno = 0;
+                       if ($members) {
+                               $memberno = sizeof($members);
+                               $members = implode(',', $members);
+                       } else {
+                               $members = '';
+                       }
+
 
 ?>
        <tr>