From 87cb8dfcfddeacc4b1898dec0f428f941dae7cd7 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 11 Jul 2007 13:34:54 +0000 Subject: [PATCH] Synchro --- .../fournisseur/cdrformat/cdrformat.fructidor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/telephonie/fournisseur/cdrformat/cdrformat.fructidor.class.php b/htdocs/telephonie/fournisseur/cdrformat/cdrformat.fructidor.class.php index ab639da958e..5cafe3794b1 100644 --- a/htdocs/telephonie/fournisseur/cdrformat/cdrformat.fructidor.class.php +++ b/htdocs/telephonie/fournisseur/cdrformat/cdrformat.fructidor.class.php @@ -70,7 +70,7 @@ class CdrFormatFructidor $this->datas[$i]['ligne'] = ereg_replace('"','',$tabline[0]); $this->datas[$i]['date'] = $tabline[1]; $this->datas[$i]['heure'] = $tabline[2]; - $this->datas[$i]['numero'] = ereg_replace('"','',$tabline[3]); + $this->datas[$i]['numero'] = ereg_replace('"','',"0".substr($tabline[3],2,strlen($tabline[3]-2))); $this->datas[$i]['tarif'] = trim($tabline[4]); $this->datas[$i]['duree'] = trim($tabline[5]); $this->datas[$i]['montant'] = trim($tabline[6]);