aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications/groups.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/notifications/groups.php')
-rw-r--r--mod/notifications/groups.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/notifications/groups.php b/mod/notifications/groups.php
index 3e81e474a..3347d4054 100644
--- a/mod/notifications/groups.php
+++ b/mod/notifications/groups.php
@@ -12,7 +12,7 @@ if (!isset($user) || !($user instanceof ElggUser)) {
forward($url);
}
-elgg_set_page_owner_guid($user);
+elgg_set_page_owner_guid($user->guid);
// Set the context to settings
elgg_set_context('settings');