Summary | Entry duplication in addressbook when automatically adding recipients |
Queue | IMP |
Queue Version | 4.0.4-RC2 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | kitterma (at) ucs (dot) fsu (dot) edu |
Created | 09/23/2005 (7276 days ago) |
Due | |
Updated | 09/23/2005 (7276 days ago) |
Assigned | |
Resolved | 09/23/2005 (7276 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Entry duplication in addressbook when automatically adding recipients
Queue ⇒ IMP
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...