Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 910 Rev 975
Line 75... Line 75...
75
	}
75
	}
Line 76... Line 76...
76
	
76
	
77
	private function recupererPrenomNomIdentifie() {
77
	private function recupererPrenomNomIdentifie() {
78
		$nom = '';
78
		$nom = '';
79
		if ($this->getAuthIdentifiant() != null) {
79
		if ($this->getAuthIdentifiant() != null) {
80
			$infos_utilisateur = $this->recupererUtilisateursNomPrenom(array($this->getAuthIdentifiant()));
80
			$infos_utilisateur = $this->recupererUtilisateursIdentite(array($this->getAuthIdentifiant()));
81
			if (array_key_exists($this->getAuthIdentifiant(), $infos_utilisateur)) {
81
			if (array_key_exists($this->getAuthIdentifiant(), $infos_utilisateur)) {
82
				$utilisateur = (array) $infos_utilisateur[$this->getAuthIdentifiant()];
-
 
83
				$nom = $utilisateur['prenom'].' '.$utilisateur['nom'];
82
				$nom = $infos_utilisateur[$this->getAuthIdentifiant()]['intitule'];
84
			} else {
83
			} else {
85
				$nom = $this->getAuthIdentifiant();
84
				$nom = $this->getAuthIdentifiant();
86
			}
85
			}
87
		}
86
		}