ignore current contact on friend suggestion picker
This commit is contained in:
parent
c410c9013c
commit
06a4c0f703
2 changed files with 17 additions and 6 deletions
|
@ -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') . '" />';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue