From 08e2d423749ed4e9912fa488a04db925e9462dfd Mon Sep 17 00:00:00 2001
From: llaffont <llaffont@afi-sa.fr>
Date: Wed, 23 Dec 2015 16:41:04 +0100
Subject: [PATCH] hotline #34250 patrons integration: fix negative failures

---
 cosmogramme/php/classes/classe_abonne.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cosmogramme/php/classes/classe_abonne.php b/cosmogramme/php/classes/classe_abonne.php
index af1a411f685..a23b0f294fa 100644
--- a/cosmogramme/php/classes/classe_abonne.php
+++ b/cosmogramme/php/classes/classe_abonne.php
@@ -72,6 +72,7 @@ class abonne
 		$data = $this->changeAccents($data);
 		$data = explode(chr(9),$data);
 
+    $enreg['MAIL'] = '';
 		for($i = 0; $i < count($this->champs); $i++) {
 			$colonne = $this->champs[$i];
       $enreg[$colonne] = $data[$i];
@@ -108,7 +109,6 @@ class abonne
 	public function importFicheXml($data){
 		// Transco accents
 		$data=$this->changeAccents($data);
-    xdebug_break();
 
 		// Données d'import
 		$data=new SimpleXMLElement($data);
-- 
GitLab