Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2910 Rev 2928
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) {