161,9 → 161,9 |
$departement = substr($departement,0,2); |
} |
$requete_selection_commune = 'SELECT utm_x, utm_y, utm_secteur, code FROM cel_zones_geo '. |
'WHERE nom LIKE '.$this->proteger($commune_formatee).' AND code LIKE '.$this->proteger($departement.'%'); |
'WHERE nom LIKE '.Cel::db()->proteger($commune_formatee).' AND code LIKE '.Cel::db()->proteger($departement.'%'); |
|
$commune_coordonnees = $this->executerRequete($requete_selection_commune); |
$commune_coordonnees = Cel::db()->executerRequete($requete_selection_commune); |
|
$retour = false; |
|