6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2663] Entry duplication in addressbook when automatically adding recipients
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..___ __ . ..__ \ /[__ / `\ /[__) \/ | \__. \/ |
Comment
> Code doesn't seem to skip over current entries in the address book > when automatically > > adding recipients, insttead adding in duplicates. Relavent code is: > > $results = $registry->call('contacts/search', > array($emails, array($ > > abook), array($abook => array('email')))); > > > > foreach ($recipientArray as $recipient) { > > /* Skip email addresses that already exist in the > > * add_source. */ > > if (isset($emails[$recipient->mailbox . '@' . > $recipient->host]) > > && > > count($emails[$recipient->mailbox . '@' . > $recipient->host]) > > ) { > > continue; > > } > > > > I believe the isset($emails... and count($emails should be > isset($results... and > > count($results...
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers