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