# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /Users/jesse/Dropbox/MAMP/htdocs/winprijzen_new/trunk/www/sites/all/modules/contrib/mailchimp
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: mailchimp.module
--- mailchimp.module Base (BASE)
+++ mailchimp.module Locally Modified (Based On LOCAL)
@@ -74,8 +74,9 @@
   $success = FALSE;
   if ($mcapi || $mcapi = mailchimp_get_api_object()) {
     $double_optin = $list->settings['doublein'];
+    $welcome_mail = $list->settings['welcome_mail'];
 
-    $success = $mcapi->listSubscribe($list->mc_list_id, $email, $merge_vars, 'html', $double_optin, TRUE);
+    $success = $mcapi->listSubscribe($list->mc_list_id, $email, $merge_vars, 'html', $double_optin, TRUE, TRUE, $welcome_mail);
 
     if ($message && $success && $double_optin) {
       drupal_set_message(t('You have chosen to subscribe to %list. An email 
