aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/notifications/groups.php2
-rw-r--r--mod/notifications/index.php2
2 files changed, 2 insertions, 2 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');
diff --git a/mod/notifications/index.php b/mod/notifications/index.php
index f4143f57b..cd1857f04 100644
--- a/mod/notifications/index.php
+++ b/mod/notifications/index.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');