Merge pull request #3389 from sebastiendu/17483-profile-photo-conservation

UserManager::updateUserFromLDAP bugfix - refs BT#17483
pull/3393/head
Nicolas Ducoulombier 5 years ago committed by GitHub
commit 633d94ec44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      main/inc/lib/usermanager.lib.php

@ -887,18 +887,18 @@ class UserManager
$user["lastname"],
$login,
null,
null,
$userInfo['auth_source'],
$user["email"],
$userInfo['status'],
'',
'',
'',
$userInfo['official_code'],
$userInfo['phone'],
$userInfo['picture_uri'],
$userInfo['expiration_date'],
$userInfo['active'],
$userInfo['creator_id'],
$userInfo['hr_dept_id'],
null,
1,
null,
0,
null,
''
$userInfo['language']
);
if (false === $userId) {
throw new Exception(get_lang('CouldNotUpdateUser'));

Loading…
Cancel
Save