diff options
-rw-r--r-- | mod/notifications/views/default/notifications/subscriptions/collections.php | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/mod/notifications/views/default/notifications/subscriptions/collections.php b/mod/notifications/views/default/notifications/subscriptions/collections.php index 8ce77c4b2..207b2e3b9 100644 --- a/mod/notifications/views/default/notifications/subscriptions/collections.php +++ b/mod/notifications/views/default/notifications/subscriptions/collections.php @@ -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> |