Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 795 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 795 Rev 1300
Line 110... Line 110...
110
		
110
		
111
		if (isset($tab_code_insee[$id_location_protege])) {
111
		if (isset($tab_code_insee[$id_location_protege])) {
112
			$utm = array(0 => $tab_code_insee[$id_location_protege]);
112
			$utm = array(0 => $tab_code_insee[$id_location_protege]);
113
		} else {
113
		} else {
114
			$requete = "SELECT * ".
114
			$requete = "SELECT * ".
115
						"FROM tb_cel.locations ".
115
						"FROM tb_new_cel.locations ".
116
						"WHERE insee_code = $id_location_protege ";
116
						"WHERE insee_code = $id_location_protege ";
117
			$utm = $this->getBdd()->recupererTous($requete);
117
			$utm = $this->getBdd()->recupererTous($requete);
118
		}
118
		}
119
		return $utm;
119
		return $utm;