Commit 69e5c0c7ba26db3a9e55971be282ea60e6592066

Authored by Etienne Pallier
1 parent 10125d09
Exists in master and in 2 other branches dev, dev-IRAP

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,6 +452,7 @@ class LdapConnectionsTable extends AppTable
452 for ($i = 0; $i < $nb_users; $i ++) 452 for ($i = 0; $i < $nb_users; $i ++)
453 // $utilisateurs["Pallier Etienne"] = ["email"] 453 // $utilisateurs["Pallier Etienne"] = ["email"]
454 ////$usersWithNameAndEmail[ $u[$i]['sn'][0].' '.$u[$i]['givenname'][0] ] = $u[$i]['mail'][0]; 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 $usersWithNameAndEmail[ $u[$i]['sn'][0].' '.$u[$i]['givenname'][0] ] = array( 456 $usersWithNameAndEmail[ $u[$i]['sn'][0].' '.$u[$i]['givenname'][0] ] = array(
456 //"login" => $u[$i]['uid'][0] // (IRAP) 457 //"login" => $u[$i]['uid'][0] // (IRAP)
457 //"login" => $u[$i]['samaccountname'][0] // CRAL 458 //"login" => $u[$i]['samaccountname'][0] // CRAL