diff options
author | Friendika <info@friendika.com> | 2011-06-27 03:03:58 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-27 03:03:58 -0700 |
commit | 06a4c0f703d64cae1e72c2901742e3c101623a7b (patch) | |
tree | cfc3fa108c6a8ea470f216ff3e5fc15c22b86b96 /mod/fsuggest.php | |
parent | c410c9013c062a9a4fce1f887572a1b1c951afbe (diff) | |
download | volse-hubzilla-06a4c0f703d64cae1e72c2901742e3c101623a7b.tar.gz volse-hubzilla-06a4c0f703d64cae1e72c2901742e3c101623a7b.tar.bz2 volse-hubzilla-06a4c0f703d64cae1e72c2901742e3c101623a7b.zip |
ignore current contact on friend suggestion picker
Diffstat (limited to 'mod/fsuggest.php')
-rw-r--r-- | mod/fsuggest.php | 4 |
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') . '" />'; |