diff --git a/cosmogramme/php/classes/classe_notice_avenio.php b/cosmogramme/php/classes/classe_notice_avenio.php
index 43be77106a931e1fb0cd7dfb0dd14d1911fbd867..ee0d6194d3bb6e5c556fcf5e3db567a6f65c99b4 100644
--- a/cosmogramme/php/classes/classe_notice_avenio.php
+++ b/cosmogramme/php/classes/classe_notice_avenio.php
@@ -19,7 +19,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA 
  */
 //////////////////////////////////////////////////////////////////////////////////////
-// CLASSE NOTICE POUR LES ARCHIVES DE CALICE68
+// CLASSE NOTICE POUR LES ARCHIVES DE ST-CLAUDE HAUT JURA
 //////////////////////////////////////////////////////////////////////////////////////
 
 class notice_avenio
@@ -32,6 +32,7 @@ class notice_avenio
 	private $champs;									// Champs de données découpés
 	private $warnings;								// Erreurs non bloquantes
 	private $erreur;									// Erreur bloquante
+	private $nb_champs;								// nombre de champs attendus
 
 // ----------------------------------------------------------------
 // Constructeur 
@@ -57,7 +58,6 @@ class notice_avenio
 		unset($this->enreg);
 		if(!$data) return false;
 		$data=utf8_encode($data);
-		$this->enreg=$data;
 		$this->champs=explode(chr(9),$data);
 		return true;
 	}
@@ -75,6 +75,7 @@ class notice_avenio
 		// supprimer la ligne d'entete
 		if($notice["id_origine"]=='Num_Inventaire')
 		{
+			$this->nb_champs=count($this->champs);
 			$notice["statut"] = 1;
 			return $notice;
 		}
diff --git a/cosmogramme/php/classes/classe_notice_integration.php b/cosmogramme/php/classes/classe_notice_integration.php
index a93b4e0250a98bf158a93d963f282f6c358652f2..f41d7ac8c7dd0dd1b8ba11022fcc8051f16e483e 100644
--- a/cosmogramme/php/classes/classe_notice_integration.php
+++ b/cosmogramme/php/classes/classe_notice_integration.php
@@ -404,8 +404,6 @@ class notice_integration
 			$this->notice_sgbd->add_field('995',"  ", $table_champs);
 			$this->notice_sgbd->update();
 			$data=$this->notice_sgbd->getFullRecord();
-			//tracedebug($exemplaires);
-			//tracedebug($new_notice,true);
 			$this->traiteNotice($data);
 		}
 	}
@@ -542,7 +540,6 @@ class notice_integration
 
 		// Traitement des facettes
 		$this->traiteFacettes();
-
 		$id_notice=$sql->insert("notices", $this->noticeToDBEnreg($this->notice));
 		$this->statut=1;
 		return $id_notice;
@@ -613,7 +610,6 @@ class notice_integration
 		if( !$this->notice["titre_princ"] ) $this->statut=4;
 		
 		// Zones forcees
-		//		$unimarc=$sql->fetchOne("select unimarc from notices where id_notice=$id_notice");
 		$this->notice_sgbd->ouvrirNotice($unimarc,0);
 		$champs_forces=$this->notice_sgbd->getChampsForces();
 		if($champs_forces and $champs_forces != $this->notice["champs_forces"])
@@ -676,8 +672,7 @@ class notice_integration
 		$this->traiteFacettes();
 
 		// Qualité égale ou zones forcees : on update		
-		$sql->update("update notices set @SET@ Where id_notice=$id_notice",
-								 $this->noticeToDBEnreg($data));
+		$sql->update("update notices set @SET@ Where id_notice=$id_notice", $this->noticeToDBEnreg($data));				
 		return $id_notice;
 	}
 // --------------------------------------------------------------------------------
@@ -1003,9 +998,6 @@ class notice_integration
 		$this->analyseur->ouvrirNotice($data,$this->id_profil,$this->sigb);
 		$notice=$this->analyseur->getNoticeIntegration();
 
-
-		//tracedebug($notice,true);
-
 		// Titre principal
 		$ret["titre"]=$notice["titre_princ"];
 		
@@ -1296,7 +1288,6 @@ class notice_integration
 			{
 				$ret[$champ][$code]++;
 			}
-			//tracedebug(1,$ret,true);
 		}
 		return $ret;
 	}
diff --git a/cosmogramme/php/integre_traite_main.php b/cosmogramme/php/integre_traite_main.php
index c8e671994a326acd47a625b1dc454b2545c9c7be..d6d044ecdb5fedba1de8d397132901e86af563ad 100644
--- a/cosmogramme/php/integre_traite_main.php
+++ b/cosmogramme/php/integre_traite_main.php
@@ -246,7 +246,7 @@ while ($ligne = $sql->fetchNext($resultat))
 				$log->ecrire(BR . '<span class="vert">' . $nb_notices . ' notices ont été traitées.</span>');
 				$msg = "temps de traitement " . $chrono_fichier->end() . " (" . $chrono_fichier->moyenne($nb_notices, "notices") . ")";
 			}
-			$log->ecrire(BR . '<span class="vert">' . $msg . '</span><br>');
+			$log->ecrire(BR . '<span class="vert">' . $msg . '</span><br>');			
 			break;
 		}