From: Cash Costello Date: Sat, 30 Jun 2012 03:44:44 +0000 (-0400) Subject: Refs #4580 - cleaned up the spaces/tabs issue with the pull request and no longer... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ef553768e2e79bce41d631970d6db19c7b099333;p=lorea%2Felgg.git 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) --- 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 = ''; + } + ?>