diff --git a/ChangeLog b/ChangeLog
index 9bf2c0bc7cb544aa747a9fa2b88572d5c35ce9c4..a169a80654ba288f6cc9561ea7587829787ba75c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,7 @@ Fix: Paypal link were broken dur to SSL v3 closed.
 - Fix: [ bug #1595 ] Selected boolean extrafield in intervention creation page, does not save state
 - Fix: Show sender Country on PDF docs when sender Country <> receiver Country
 - Fix: [ bug #1624 ] Use lowest buying price for margin when selling with POS
+- Fix: [ bug #1749 ] Undefined $mailchimp
 
 ***** ChangeLog for 3.6.1 compared to 3.6.* *****
 For users:
diff --git a/htdocs/projet/element.php b/htdocs/projet/element.php
index 53559c74333fff44415336c2e83d3fd0d8d5f31d..4a0c70e04af66281546598eba9c3158e47aa8422 100644
--- a/htdocs/projet/element.php
+++ b/htdocs/projet/element.php
@@ -212,7 +212,7 @@ if ($action=="addelement")
 	$elementselectid = GETPOST("elementselect");
 	$result=$project->update_element($tablename, $elementselectid);
 	if ($result<0) {
-		setEventMessage($mailchimp->error,'errors');
+		setEventMessage($project->error,'errors');
 	}
 }