Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 1285 Rev 1299
Line 328... Line 328...
328
		$table_contact = $this->recupererTableContact($tab);
328
		$table_contact = $this->recupererTableContact($tab);
329
		//on affiche le premier contact en dehors de la table de détail:
329
		//on affiche le premier contact en dehors de la table de détail:
330
		if ($table_contact[0] != array()) {
330
		if ($table_contact[0] != array()) {
331
			$this->table_retour[$key.'.contact'] = '';
331
			$this->table_retour[$key.'.contact'] = '';
332
			foreach ($table_contact as $info => $valeur) {
332
			foreach ($table_contact as $info => $valeur) {
333
				$this->table_retour[$key.'.contact'] .= $valeur['contact.prenom']." ".$valeur['contact.nom'];
333
			    $this->table_retour[$key.'.contact'] .=  ($valeur['contact.prenom'] ?? '')." ". ($valeur['contact.nom'] ?? '');
334
			}
334
			}
335
			//on affiche les détails des autres contacts :
335
			//on affiche les détails des autres contacts :
336
			$this->afficherTableDetails($key.'.contact', $table_contact);
336
			$this->afficherTableDetails($key.'.contact', $table_contact);
337
		}
337
		}
338
	}
338
	}