From 865ea89ad695bec25407f7f218e10385a3ebb6b6 Mon Sep 17 00:00:00 2001 From: Steve Clay Date: Sun, 24 Jun 2012 00:52:31 -0400 Subject: fixed owner block display --- mod/notifications/groups.php | 2 +- mod/notifications/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') 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'); -- cgit v1.2.3