summaryrefslogtreecommitdiff
path: root/program/steps/mail/search_contacts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/mail/search_contacts.inc')
-rw-r--r--program/steps/mail/search_contacts.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/search_contacts.inc b/program/steps/mail/search_contacts.inc
index 6a30ad1f5..668181623 100644
--- a/program/steps/mail/search_contacts.inc
+++ b/program/steps/mail/search_contacts.inc
@@ -76,7 +76,7 @@ if (!empty($result) && $result->count > 0) {
// (same as in list_contacts.inc)
$emails = $source->get_col_values('email', $row, true);
foreach ($emails as $i => $email) {
- $row_id = $row['ID'].$i;
+ $row_id = $row['ID'].'-'.$i;
$jsresult[$row_id] = format_email_recipient($email, $name);
$OUTPUT->command('add_contact_row', $row_id, array(
'contact' => html::span(array('title' => $email), Q($name ? $name : $email) .