aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-06-24 00:52:31 -0400
committerSteve Clay <steve@mrclay.org>2012-06-24 00:52:31 -0400
commit865ea89ad695bec25407f7f218e10385a3ebb6b6 (patch)
tree7b85e6a9dee24a06fad5ebd71d35be074dac4c7e /mod
parent4a3c49240140449ef4c91c4b999a91b11380db3c (diff)
downloadelgg-865ea89ad695bec25407f7f218e10385a3ebb6b6.tar.gz
elgg-865ea89ad695bec25407f7f218e10385a3ebb6b6.tar.bz2
fixed owner block display
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');