Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2492 Rev 2538
Line 87... Line 87...
87
		if (count($obs) == 1) {
87
		if (count($obs) == 1) {
88
			return $gestionnaire_observation->modifierObservation($uid[0], $obs[0], $pairs);
88
			return $gestionnaire_observation->modifierObservation($uid[0], $obs[0], $pairs);
89
		}
89
		}
Line 90... Line 90...
90
 
90
 
91
		// cas de mise à jour de multiples observations:
91
		// cas de mise à jour de multiples observations:
92
		$ret = GestionObservation::modifierMultiplesObservation($uid[0], $obs, $pairs);
92
		$ret = $gestionnaire_observation->modifierMultiplesObservation($uid[0], $obs, $pairs);
93
		if ($ret === false) {
93
		if ($ret === false) {
94
			return false; // JRest::badRequest();
94
			return false; // JRest::badRequest();
95
		}
95
		}
96
		if ($ret === 0) {
96
		if ($ret === 0) {