Download & Extend

Hidden Multiple Mailchimp Interest Groups Shows Blank Fieldset on Subscription Form

Project:MailChimp
Version:6.x-2.6
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

Problem

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.

AttachmentSize
mailchimp.module.patch1005 bytes

Comments

#1

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

Only local images are allowed.

AttachmentSize
Screen shot 2012-11-22 at 22.53.56.png 18.97 KB