From d2e387a71bdd1175b817b9400121a46d412b500b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 11 Jul 2007 07:53:38 +0000 Subject: [PATCH] Ajout message avec level --- htdocs/telephonie/facturation/FacturationImportCdr.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/telephonie/facturation/FacturationImportCdr.class.php b/htdocs/telephonie/facturation/FacturationImportCdr.class.php index 7689317a5a7..69862fa376c 100644 --- a/htdocs/telephonie/facturation/FacturationImportCdr.class.php +++ b/htdocs/telephonie/facturation/FacturationImportCdr.class.php @@ -233,7 +233,7 @@ class FacturationImportCdr { else { dolibarr_syslog("FacturationImportCdr::Import Ligne $ligne inconnue Ligne : $cont ignorée", LOG_INFO); - array_push($this->messages,"Ligne $ligne inconnue"); + array_push($this->messages,array('warning',"Ligne $ligne inconnue")); } $line++; } @@ -253,7 +253,7 @@ class FacturationImportCdr { if ($error == 0) { $this->db->query("COMMIT"); - array_push($this->messages, "Fichier ".basename($xfile)." importation reussie"); + array_push($this->messages, array('info',"Fichier ".basename($xfile)." importation reussie")); } else {