aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/friends/collection.php2
-rw-r--r--views/default/friends/picker.php6
2 files changed, 6 insertions, 2 deletions
diff --git a/views/default/friends/collection.php b/views/default/friends/collection.php
index 0d6f2b059..eca1b1f4e 100644
--- a/views/default/friends/collection.php
+++ b/views/default/friends/collection.php
@@ -39,7 +39,7 @@
$members = $vars['collection']->members;
$content = elgg_view('friends/tablelist',array('entities' => $members));
$content .= elgg_view('friends/collectiontabs', array('members' => $members, 'friends' => $friends, 'collection' => $vars['collection']));
- echo elgg_view('friends/picker',array('entities' => $friends, 'value' => $members, 'content' => $content));
+ echo elgg_view('friends/picker',array('entities' => $friends, 'value' => $members, 'content' => $content, 'replacement' => ''));
}
// close friends_picker div and the accordian list item
diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php
index 329264f13..917ed2cd9 100644
--- a/views/default/friends/picker.php
+++ b/views/default/friends/picker.php
@@ -80,6 +80,8 @@
}
+ if (!isset($vars['replacement'])) {
+
?>
@@ -170,7 +172,9 @@
</div>
<?php
-
+ } else {
+ echo $vars['replacement'];
+ }
if (!$callback) {
?>