Problem/Motivation

The module generates errors during cron when trying to synchronize users with CC. The problem is that the module is using Drupal 6's version of user_load:

$user = user_load(array('mail' => $v['EmailAddress']))

Proposed resolution

Replace the line above with:

$user = user_load_by_mail($v['EmailAddress']);

Comments

ogrygorash’s picture

Patch attached.

ogrygorash’s picture

Status: Active » Needs review

Please review the patch above.

justphp’s picture

Assigned: Unassigned » justphp

Thanks I'll check this out.

justphp’s picture

Status: Needs review » Fixed

Fixed in next release.

justphp’s picture

Status: Fixed » Closed (fixed)