When a user enters a correct address, but does not check a list to subscribe to, the following error returns:

implode(): Bad arguments. in /export/sites/civicspacelabs.com/docs/home/modules/ezmlm/ezmlm.module on line 149.

I have attached a patch that should fix the problem, although I didn't get a chance to test it.

Robin

CommentFileSizeAuthor
#2 ezmlm.patch2.txt936 bytesChris Johnson
ezmlm.module.patch842 bytesrobin monks

Comments

Chris Johnson’s picture

Assigned: robin monks » Chris Johnson

Thanks, Robin. I will try to get your patch applied later today.

Chris Johnson’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new936 bytes

Robin's patch did not work, because the list is a series of checkboxes, the $edit['ezmlm_list'] element will always be set and an array.

Rolled a new patch which does fix the problem he found. I will apply the patch to the contrib repository, and it is attached here for convenience.

Chris Johnson’s picture

Status: Reviewed & tested by the community » Fixed

Fix applied to CVS. Revision 1.11.2.1 on DRUPAL-4-6 branch.

Anonymous’s picture

Status: Fixed » Closed (fixed)