aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-09 15:48:30 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-09 15:48:30 +0000
commit3e9f2c551a4836e31c1031a9fe783a3d643341cd (patch)
treef68b82421b89aac71d0e2aba3456fcdf1953340b /mod/notifications
parente434049a59a70668cc5662785cd152514d795a32 (diff)
downloadelgg-3e9f2c551a4836e31c1031a9fe783a3d643341cd.tar.gz
elgg-3e9f2c551a4836e31c1031a9fe783a3d643341cd.tar.bz2
Group notification settings now save properly
git-svn-id: https://code.elgg.org/elgg/trunk@2692 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/notifications')
-rw-r--r--mod/notifications/actions/save.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/notifications/actions/save.php b/mod/notifications/actions/save.php
index 6277de71a..112b1a74c 100644
--- a/mod/notifications/actions/save.php
+++ b/mod/notifications/actions/save.php
@@ -24,7 +24,7 @@
$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);
+ remove_entity_relationships($SESSION['user']->guid,'notify' . $method, false, 'user');
}
// Add new ones