Posted by toodlepip on November 22, 2012 at 10:51pm
1 follower
| 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.
| Attachment | Size |
|---|---|
| mailchimp.module.patch | 1005 bytes |
Comments
#1
Thought it might be useful to include a snippet of the screenshot demonstrating the bug, in the attached file: