From: Steve Clay Date: Sun, 24 Jun 2012 04:52:31 +0000 (-0400) Subject: fixed owner block display X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=865ea89ad695bec25407f7f218e10385a3ebb6b6;p=lorea%2Felgg.git fixed owner block display --- 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');