Subversion Repositories eFlore/Applications.cel

Rev

Rev 1327 | Rev 1761 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1327 Rev 1351
Line 109... Line 109...
109
		$resultat_selection_liaison = $this->requeter($requete_selection_liaison);
109
		$resultat_selection_liaison = $this->requeter($requete_selection_liaison);
Line 110... Line 110...
110
		
110
		
111
		$liaisons = array();
111
		$liaisons = array();
112
        if (is_array($resultat_selection_liaison) && count($resultat_selection_liaison) > 0) {
112
        if (is_array($resultat_selection_liaison) && count($resultat_selection_liaison) > 0) {
-
 
113
			$liaisons = $resultat_selection_liaison;
-
 
114
			if($field == 'id_image') {
-
 
115
				foreach($liaisons as &$liaison) {
-
 
116
					$liaison['ce_zone_geo'] = $this->convertirCodeZoneGeoVersCodeInsee($liaison['ce_zone_geo']);
-
 
117
				}
113
			$liaisons = $resultat_selection_liaison;
118
			}
Line 114... Line 119...
114
        }
119
        }
115
 
120
 
116
		$this->envoyerJson($liaisons);
121
		$this->envoyerJson($liaisons);