Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
mailchimp_lists_load_user_mergevars() lost some of 'Merge Fields' if they use the same source fields.
For example if on subscription settings page in 'Merge Fields' block you will set 'name' as a source both for 'First Name' and 'Last Name' one of them the will be lost during mailchimp_lists_load_user_mergevars() call and as a result of this the module will send a request to mailchimp server with missed required field.
That is happen because of this line in mailchimp_lists_load_user_mergevars():
$mergevars = array_flip($mergevars);
Comment | File | Size | Author |
---|---|---|---|
#1 | mailchimp_lost_subscription_fields-1990360-1.patch | 1.39 KB | vlkff |
Comments
Comment #1
vlkff CreditAttribution: vlkff commentedComment #2
vlkff CreditAttribution: vlkff commentedComment #3
vlkff CreditAttribution: vlkff commentedComment #4
gcbthanks vlkff: fixed in 7.x-2.x dev.