From b2128acbdccfa8289cb6b8978870a8a2a6886896 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 5 Feb 2009 18:45:02 +0000 Subject: Friends collections preferences are saved git-svn-id: https://code.elgg.org/elgg/trunk@2661 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/notifications/actions/save.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod/notifications/actions') diff --git a/mod/notifications/actions/save.php b/mod/notifications/actions/save.php index 44b341e9b..782237b34 100644 --- a/mod/notifications/actions/save.php +++ b/mod/notifications/actions/save.php @@ -19,7 +19,10 @@ foreach($NOTIFICATION_HANDLERS as $method => $foo) { $subscriptions[$method] = get_input($method.'subscriptions'); $personal[$method] = get_input($method.'personal'); + $collections[$method] = get_input($method.'collections'); + $metaname = 'collections_notifications_preferences_' . $method; + $_SESSION['user']->$metaname = $collections[$method]; set_user_notification_setting($_SESSION['user']->guid, $method, ($personal[$method] == '1') ? true : false); remove_entity_relationships($SESSION['user']->guid,'notify' , $method, false); } -- cgit v1.2.3