diff options
Diffstat (limited to 'pages/friends')
-rw-r--r-- | pages/friends/index.php | 2 | ||||
-rw-r--r-- | pages/friends/of.php | 2 | ||||
-rw-r--r-- | pages/friends/pickercallback.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pages/friends/index.php b/pages/friends/index.php index a8e5f7e8e..84c0fa526 100644 --- a/pages/friends/index.php +++ b/pages/friends/index.php @@ -6,7 +6,7 @@ * @subpackage Core */ -$owner = elgg_get_page_owner(); +$owner = elgg_get_page_owner_entity(); if (!$owner) { // unknown user so send away (@todo some sort of 404 error) forward(); diff --git a/pages/friends/of.php b/pages/friends/of.php index 395334ff5..7091c4445 100644 --- a/pages/friends/of.php +++ b/pages/friends/of.php @@ -6,7 +6,7 @@ * @subpackage Core */ -$owner = elgg_get_page_owner(); +$owner = elgg_get_page_owner_entity(); if (!$owner) { // unknown user so send away (@todo some sort of 404 error) forward(); diff --git a/pages/friends/pickercallback.php b/pages/friends/pickercallback.php index 1ca29ede9..4659ea150 100644 --- a/pages/friends/pickercallback.php +++ b/pages/friends/pickercallback.php @@ -23,7 +23,7 @@ if (!$members) { $friendspicker = (int) get_input('friendspicker', 0); // Get page owner (bomb out if there isn't one) -$pageowner = elgg_get_page_owner(); +$pageowner = elgg_get_page_owner_entity(); if (!$pageowner) { forward(); exit; |