diff --git a/library/Metier/Partenaires/MMap.php b/library/Metier/Partenaires/MMap.php index 8b3b711d..0182e6b0 100644 --- a/library/Metier/Partenaires/MMap.php +++ b/library/Metier/Partenaires/MMap.php @@ -513,11 +513,13 @@ class Metier_Partenaires_MMap 'l93_x'=>$this->l93x, 'l93_y'=>$this->l93y ); - $this->conn->update('jo.zonageXY', $tabUpdate, array( - 'address' => $adresse, - 'adr_cp' => $cp, - 'adr_ville' => $ville, - )); + try { + $this->conn->update('jo.zonageXY', $tabUpdate, array( + 'address' => $adresse, + 'adr_cp' => $cp, + 'adr_ville' => $ville, + )); + } catch (\Doctrine\DBAL\DBALException $e) {} } $this->latitudeDeg = dec2dms($this->latitudeDec);