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 c04b1d383..00661c2b1 100644
--- a/pages/friends/pickercallback.php
+++ b/pages/friends/pickercallback.php
@@ -22,7 +22,7 @@ if (!$members) {
$friendspicker = (int) get_input('friendspicker', 0);
// Get page owner (bomb out if there isn't one)
-$pageowner = page_owner_entity();
+$pageowner = elgg_get_page_owner();
if (!$pageowner) {
forward();
exit;