aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/notifications/index.php')
-rw-r--r--mod/notifications/index.php2
1 files changed, 1 insertions, 1 deletions
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');