If a Mailchimp list has interest groups that are hidden, _mailchimp_interest_groups_element() creates an empty fieldset for the user. There's nothing to show so the fieldset shouldn't be displayed. It's a minor detail but will tidy up the interface.

Proposed Solution

Use a flag to check that at least one set of Interest Groups aren't hidden, in which case return a drupal form element, otherwise return an empty array. A patch is attached with a proposed solution for review.


toodlepip’s picture

Thought it might be useful to include a snippet of the screenshot demonstrating the bug, in the attached file:

Mailchimp Empty Fieldset Bug

nrackleff’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

“And now our watch [for support of the 6.x version of the MailChimp module] has ended…” With the end of Drupal 6 support, I’m sad to say we too must turn the page.

Fret not! The 7.x-4.x and 8.x versions come highly recommended. Both are using Mailchimp’s new API 3.0 and are being actively maintained. “What is dead may never die, but rises again, harder and stronger!”