From 06a4c0f703d64cae1e72c2901742e3c101623a7b Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 27 Jun 2011 03:03:58 -0700 Subject: ignore current contact on friend suggestion picker --- mod/fsuggest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/fsuggest.php') 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 .= '
'; - // 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 .= ''; -- cgit v1.2.3