Download & Extend

PHP error on no selected lists

Project:Ezmlm
Version:4.6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Chris Johnson
Status:closed (fixed)

Issue Summary

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

AttachmentSize
ezmlm.module.patch842 bytes

Comments

#1

Assigned to:Robin Monks» Chris Johnson

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

#2

Status:needs review» reviewed & tested by the community

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.

AttachmentSize
ezmlm.patch2.txt 936 bytes

#3

Status:reviewed & tested by the community» fixed

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

#4

Status:fixed» closed (fixed)
nobody click here