Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2483 Rev 2489
Line 75... Line 75...
75
		$requete = 'SELECT id_observation '.
75
		$requete = 'SELECT id_observation '.
76
			'FROM cel_obs '.
76
			'FROM cel_obs '.
77
			"WHERE ce_utilisateur = $idUtilisateurP ".
77
			"WHERE ce_utilisateur = $idUtilisateurP ".
78
			"AND ordre IN ($ordreConcat) ".
78
			"AND ordre IN ($ordreConcat) ".
79
			' -- '.__FILE__.':'.__LINE__;
79
			' -- '.__FILE__.':'.__LINE__;
80
		$resultats = Cel::db()->executer($requete);
80
		$resultats = Cel::db()->requeter($requete);
81
 
-
 
82
		$idsObs = array();
81
		$idsObs = array();
83
		if ($idsObs && is_array($idsObs)) {
82
		if ($resultats && is_array($resultats)) {
84
			foreach ($resultats as $infos) {
83
			foreach ($resultats as $infos) {
85
				$idsObs[] = $infos['id_observation'];
84
				$idsObs[] = $infos['id_observation'];
86
			}
85
			}
87
		}
86
		}
88
		return $idsObs;
87
		return $idsObs;