From 3291ce743ba92eecdee1cad6c4739a8b9fe37544 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 12 Apr 2010 12:11:20 +0000 Subject: [PATCH] =?UTF-8?q?Correction=20gestion=20des=20caract=C3=A8res=20?= =?UTF-8?q?de=20ponctuation=20et=20abbr=C3=A9viation,=20issue=20#0000243?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/identite/infogeo.php | 7 ++++--- includes/scoresws/identite.php | 19 +++++++++++-------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/includes/identite/infogeo.php b/includes/identite/infogeo.php index 645649b4b..076c4daca 100644 --- a/includes/identite/infogeo.php +++ b/includes/identite/infogeo.php @@ -2,10 +2,11 @@
0) { diff --git a/includes/scoresws/identite.php b/includes/scoresws/identite.php index 4050a1abc..6a3ed8350 100644 --- a/includes/scoresws/identite.php +++ b/includes/scoresws/identite.php @@ -728,14 +728,17 @@ function identite_statutsmodif($StatutsModif,$StatutsModifDepot) } function normaliseVoie($voie) { - switch (strtoupper($voie)) { - case 'BD': case 'BVD': return 'BOULEVARD'; break; - case 'AV': case 'AVE': return 'AVENUE'; break; - case 'PL': case 'PLA': return 'PLACE'; break; - case 'ESP': return 'ESPLANADE'; break; - //- 8E__ARRONDISSEMENT - default; return strtoupper($voie); break; - } + switch (strtoupper($voie)) { + case 'BD': + case 'BVD': return 'BOULEVARD'; break; + case 'AV': + case 'AVE': return 'AVENUE'; break; + case 'PL': + case 'PLA': return 'PLACE'; break; + case 'ESP': return 'ESPLANADE'; break; + case 'CRS': return 'COURS'; break; + default: return strtoupper($voie); break; + } } function identite_autresiren($liste)