MMap : Catch update error
This commit is contained in:
parent
dd7865f43f
commit
185ffc7f69
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user