diff options
Diffstat (limited to 'mod/notifications/actions/save.php')
-rw-r--r-- | mod/notifications/actions/save.php | 3 |
1 files changed, 3 insertions, 0 deletions
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);
}
|