Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2492 Rev 2924
Line 79... Line 79...
79
			$time = strtotime(str_replace("/", "-", $pairs['date_observation']));
79
			$time = strtotime(str_replace("/", "-", $pairs['date_observation']));
80
			if(!$time || $time > time()) {
80
			if(!$time || $time > time()) {
81
				throw new Exception('Date invalide');
81
				throw new Exception('Date invalide');
82
			}
82
			}
83
		}
83
		}
-
 
84
		// une nom de bdtfxr est en fait un nom de bdtfx
-
 
85
		if ($pairs['nom_referentiel'] == 'bdtfxr') {
-
 
86
			$pairs['nom_referentiel'] = 'bdtfx';
84
 
87
		}
85
		$gestionnaire_observation = new GestionObservation($this->config);
88
		$gestionnaire_observation = new GestionObservation($this->config);
86
		$modification_observation = $gestionnaire_observation->modifierObservation($uid[0],$uid[1],$pairs);
89
		$modification_observation = $gestionnaire_observation->modifierObservation($uid[0],$uid[1],$pairs);
Line 87... Line 90...
87
 
90
 
88
		if ($champs_etendus != null) {
91
		if ($champs_etendus != null) {