Looking at the code, I think only one mailchimp list is saved when submitting the webform, whichever one comes last. I would like the ability to have multiple lists updated with the same form.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mattcasey’s picture

Turned out to be pretty easy to fix, using an array instead of a string for $mailchimp_list. I'll try to submit a patch

jrockowitz’s picture

mattwad, I just ran into this issue could you please post your fix (ie patch or code). Thanks.

mattcasey’s picture

Here ya go.

jrockowitz’s picture

The patch works great, thanks.

There is a very minor indentation issue but the maintainer should be able to commit it.

mattcasey’s picture

Status: Active » Needs review
FileSize
1.68 KB

Rerolled with correct indentation and also removed a redundant comment.

mattcasey’s picture

Gah! I missed one tab space.

blackdog’s picture

Status: Needs review » Fixed

Good catch, committed to 6.x & 7.x. Someone please test the 7.x code.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.