Line 551... |
Line 551... |
551 |
' cp_nom AS nom, cp_login AS login, cp_mot_de_passe AS mot_de_passe, cp_parametre AS parametre, '.
|
551 |
' cp_nom AS nom, cp_login AS login, cp_mot_de_passe AS mot_de_passe, cp_parametre AS parametre, '.
|
552 |
' cp_ville AS ville, cp_code_postal AS code_postal, '.
|
552 |
' cp_ville AS ville, cp_code_postal AS code_postal, '.
|
553 |
' cp_mark_licence AS licence '.
|
553 |
' cp_mark_licence AS licence '.
|
554 |
'FROM coel_personne '.
|
554 |
'FROM coel_personne '.
|
555 |
"WHERE cp_login = {$this->bdd->quote($login)} ".
|
555 |
"WHERE cp_login = {$this->bdd->quote($login)} ".
|
556 |
" AND cp_ce_projet = '$cp_ce_projet' ".
|
- |
|
557 |
((!is_null($mot_de_passe)) ? "AND cp_mot_de_passe = {$this->bdd->quote($mot_de_passe)} " : '');
|
556 |
((!is_null($mot_de_passe)) ? "AND cp_mot_de_passe = {$this->bdd->quote($mot_de_passe)} " : '');
|
558 |
try {
|
557 |
try {
|
559 |
$resultat = $this->bdd->query($requete)->fetch();
|
558 |
$resultat = $this->bdd->query($requete)->fetch();
|
560 |
if ($resultat === false) {
|
559 |
if ($resultat === false) {
|
561 |
$this->debug[] = "L'utilisateur n'est pas enregistré comme utilisateur de COEL.";
|
560 |
$this->debug[] = "L'utilisateur n'est pas enregistré comme utilisateur de COEL.";
|