Skip to content

Commit

Permalink
Keep same code structure
Browse files Browse the repository at this point in the history
  • Loading branch information
WinstonN committed Oct 18, 2017
1 parent 57b07cd commit bdef5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/community/Ebizmarts/MailChimp/Model/Observer.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function customerSaveBefore(Varien_Event_Observer $observer)
$subscriber = Mage::getModel('newsletter/subscriber')->loadByCustomer($customer);
$subscriber->setSubscriberEmail($customer->getEmail()); // make sure we set the new email address

$response = Mage::getModel('mailchimp/api_subscribers')->updateSubscriber($subscriber, true);
Mage::getModel('mailchimp/api_subscribers')->updateSubscriber($subscriber, true);
}
}

Expand Down

0 comments on commit bdef5d0

Please sign in to comment.