aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-27 03:03:58 -0700
committerFriendika <info@friendika.com>2011-06-27 03:03:58 -0700
commit06a4c0f703d64cae1e72c2901742e3c101623a7b (patch)
treecfc3fa108c6a8ea470f216ff3e5fc15c22b86b96 /mod
parentc410c9013c062a9a4fce1f887572a1b1c951afbe (diff)
downloadvolse-hubzilla-06a4c0f703d64cae1e72c2901742e3c101623a7b.tar.gz
volse-hubzilla-06a4c0f703d64cae1e72c2901742e3c101623a7b.tar.bz2
volse-hubzilla-06a4c0f703d64cae1e72c2901742e3c101623a7b.zip
ignore current contact on friend suggestion picker
Diffstat (limited to 'mod')
-rw-r--r--mod/fsuggest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/fsuggest.php b/mod/fsuggest.php
index 29fb79cfb..dc95fb8e1 100644
--- a/mod/fsuggest.php
+++ b/mod/fsuggest.php
@@ -103,8 +103,8 @@ function fsuggest_content(&$a) {
$o .= '<form action="fsuggest/' . $contact_id . '" method="post" >';
- // TODO: selector should have an option to ignore the recipient
- $o .= contact_select('suggest','suggest-select', $preselect, 4, true);
+ $o .= contact_selector('suggest','suggest-select', false,
+ array('size' => 4, 'exclude' => $contact_id, 'networks' => 'DFRN_ONLY', 'single' => true));
$o .= '<input type="submit" name="submit" value="' . t('Submit') . '" />';