Subversion Repositories eFlore/Applications.moissonnage

Rev

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

Rev 40 Rev 44
Line 148... Line 148...
148
		return $url;
148
		return $url;
149
	}
149
	}
Line 150... Line 150...
150
	
150
	
151
	private function concatenerLieuObservation(& $observation) {
151
	private function concatenerLieuObservation(& $observation) {
152
		$lieux = array();
152
		$lieux = array();
153
		if (!is_null($observation['lieudit'])) {
153
		if (isset($observation['lieudit']) && !is_null($observation['lieudit'])) {
154
			$lieux[] = $observation['lieudit'];
154
			$lieux[] = $observation['lieudit'];
155
		}
155
		}
156
		if (!is_null($observation['milieu'])) {
156
		if (isset($observation['milieu']) && !is_null($observation['milieu'])) {
157
			$lieux[] = $observation['milieu'];
157
			$lieux[] = $observation['milieu'];
158
		}
158
		}
159
		unset($observation['lieudit']);
159
		unset($observation['lieudit']);
160
		unset($observation['milieu']);
160
		unset($observation['milieu']);