aboutsummaryrefslogtreecommitdiff
path: root/friends/pickercallback.php
diff options
context:
space:
mode:
Diffstat (limited to 'friends/pickercallback.php')
-rw-r--r--friends/pickercallback.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/friends/pickercallback.php b/friends/pickercallback.php
index b6e8c3d49..2a6a55439 100644
--- a/friends/pickercallback.php
+++ b/friends/pickercallback.php
@@ -25,6 +25,8 @@
$members = array();
}
+ $friendspicker = (int) get_input('friendspicker',0);
+
// Get page owner (bomb out if there isn't one)
$pageowner = page_owner_entity();
if (!$pageowner) { forward(); exit; }
@@ -39,7 +41,8 @@
$content = elgg_view('friends/picker',array(
'entities' => $friends,
'value' => $members,
- 'callback' => true
+ 'callback' => true,
+ 'friendspicker' => $friendspicker,
));
break;