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']);
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | [constant_contact]-[hook_cron]-[1799146].patch | 700 bytes | ogrygorash |
Comments
Comment #1
ogrygorash commentedPatch attached.
Comment #2
ogrygorash commentedPlease review the patch above.
Comment #3
justphp commentedThanks I'll check this out.
Comment #4
justphp commentedFixed in next release.
Comment #5
justphp commented