From b6b7331c0a548ed1131c1b0ad2f37ad8ce9fb967 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 10 Feb 2009 12:56:49 +0000 Subject: Fixed 'all friends' button. git-svn-id: https://code.elgg.org/elgg/trunk@2702 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/notifications/subscriptions/collections.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/notifications/views/default') diff --git a/mod/notifications/views/default/notifications/subscriptions/collections.php b/mod/notifications/views/default/notifications/subscriptions/collections.php index 3fcc93fd7..0fe5e45c2 100644 --- a/mod/notifications/views/default/notifications/subscriptions/collections.php +++ b/mod/notifications/views/default/notifications/subscriptions/collections.php @@ -65,7 +65,7 @@ if (!empty($collections_preferences) && !is_array($collections_preferences)) $collections_preferences = array($collections_preferences); if (is_array($collections_preferences)) - if (in_array(0,$collections_preferences)) { + if (in_array(-1,$collections_preferences)) { $collectionschecked[$method] = 'checked="checked"'; } else { $collectionschecked[$method] = ''; @@ -74,8 +74,8 @@ if ($i > 0) $fields .= " "; $fields .= <<< END - - + + END; $i++; } -- cgit v1.2.3