aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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