Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1337 Rev 1349
Line 158... Line 158...
158
		$nnr = $this->nomCourant->getNnr();
158
		$nnr = $this->nomCourant->getNnr();
159
		$infosOrganes = $this->images->getInfosMeilleuresImagesParTag($nnr, array_keys($organes), Eflore::PROTOCOLE_CAPITALISATION, 6, 'CRX2S');
159
		$infosOrganes = $this->images->getInfosMeilleuresImagesParTag($nnr, array_keys($organes), Eflore::PROTOCOLE_CAPITALISATION, 6, 'CRX2S');
Line 160... Line 160...
160
		
160
		
161
		$vide = true;
161
		$vide = true;
-
 
162
		foreach ($infosOrganes as $tag => $organe) {
-
 
163
			foreach ($organe as $id_image => &$image) {
-
 
164
				$image['urlMauvaiseIdentification'] =  $this->appUrls->obtenirUrlMauvaiseIdentification($image['observation']['id_observation']);
162
		foreach ($infosOrganes as $tag => $organe) {
165
			}
163
			$organes[$tag] = $organe;
166
			$organes[$tag] = $organe;
164
			$nbImages = count($organe);
167
			$nbImages = count($organe);
165
			if ($nbImages != 0) {
168
			if ($nbImages != 0) {
166
				$vide = false;
169
				$vide = false;