Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 3493 Rev 3494
Line 80... Line 80...
80
		$champs_etendus_par_element = array();
80
		$champs_etendus_par_element = array();
81
		if (!empty($ids_element_lies)) {
81
		if (!empty($ids_element_lies)) {
82
			$ids_element_lies = array_map(array(Cel::db(), 'proteger'),$ids_element_lies);
82
			$ids_element_lies = array_map(array(Cel::db(), 'proteger'),$ids_element_lies);
83
			$ids = implode(',', $ids_element_lies);
83
			$ids = implode(',', $ids_element_lies);
Line 84... Line 84...
84
 
84
 
85
			$requete = "SELECT occurence_id, value, `field_id`as cle FROM {$this->table_obs_etendus} o join extended_field f
85
			$requete = "SELECT occurrence_id, value, `field_id`as cle FROM {$this->table_obs_etendus} o join extended_field f
86
			     on f.`id` =  extended_field_id WHERE {$this->champ_id} IN ($ids) ";
86
			     on f.`id` =  extended_field_id WHERE {$this->champ_id} IN ($ids) ";
Line 87... Line 87...
87
			$resultats = Cel::db()->requeter($requete);
87
			$resultats = Cel::db()->requeter($requete);
88
			
88