Commit 69e5c0c7ba26db3a9e55971be282ea60e6592066
1 parent
10125d09
Exists in
master
and in
2 other branches
bugtrack
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/Model/Table/LdapConnectionsTable.php
... | ... | @@ -452,6 +452,7 @@ class LdapConnectionsTable extends AppTable |
452 | 452 | for ($i = 0; $i < $nb_users; $i ++) |
453 | 453 | // $utilisateurs["Pallier Etienne"] = ["email"] |
454 | 454 | ////$usersWithNameAndEmail[ $u[$i]['sn'][0].' '.$u[$i]['givenname'][0] ] = $u[$i]['mail'][0]; |
455 | + if (!isset($u[$i]['mail'])) $this->mydebugmsg("no mail for user ".$u[$i][$this->authenticationType][0]); | |
455 | 456 | $usersWithNameAndEmail[ $u[$i]['sn'][0].' '.$u[$i]['givenname'][0] ] = array( |
456 | 457 | //"login" => $u[$i]['uid'][0] // (IRAP) |
457 | 458 | //"login" => $u[$i]['samaccountname'][0] // CRAL | ... | ... |