From ef553768e2e79bce41d631970d6db19c7b099333 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Fri, 29 Jun 2012 23:44:44 -0400 Subject: Refs #4580 - cleaned up the spaces/tabs issue with the pull request and no longer imploding a false (though the access collections method really should return an empty array so this isn't an issue) --- .../default/notifications/subscriptions/collections.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'mod/notifications') 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; 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 = ''; + } + ?> -- cgit v1.2.3