Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1724 Rev 1730
Line 18... Line 18...
18
 
18
 
19
	public function obtenirIdObservationsPourOrdre($id_utilisateur, $ordre) {
19
	public function obtenirIdObservationsPourOrdre($id_utilisateur, $ordre) {
Line 20... Line 20...
20
		$requete_selection_id = 'SELECT id_observation FROM cel_obs WHERE ordre ';
20
		$requete_selection_id = 'SELECT id_observation FROM cel_obs WHERE ordre ';
21
 
21
 
22
		if (is_array($ordre)) {
22
		if (is_array($ordre)) {
23
			$ordre = array_map(array($this,'proteger'), $ordre);
23
			$ordre = array_map(array(Cel::db(),'proteger'), $ordre);
24
			$requete_selection_id .= ' IN ('.implode(',',$ordre).') ';
24
			$requete_selection_id .= ' IN ('.implode(',',$ordre).') ';
25
		} else {
25
		} else {