diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-31 09:45:39 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-31 09:45:39 +0000 |
commit | 7aa94f2b998df85cfeaa6325fedc49cb47da110f (patch) | |
tree | fd45243b397323634353010d47e9ce179dad8377 /friends/pickercallback.php | |
parent | 79601adfad8d40fdb202efbc3071683506ffcae1 (diff) | |
download | elgg-7aa94f2b998df85cfeaa6325fedc49cb47da110f.tar.gz elgg-7aa94f2b998df85cfeaa6325fedc49cb47da110f.tar.bz2 |
Hurrah! Made the friendspickers work
git-svn-id: https://code.elgg.org/elgg/trunk@1623 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'friends/pickercallback.php')
-rw-r--r-- | friends/pickercallback.php | 5 |
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;
|