Patch PR #6335 to master

This commit is contained in:
snipe 2018-10-19 01:30:05 -07:00
parent f587d2248b
commit 3aeb521782

View file

@ -316,8 +316,8 @@ abstract class Importer
$user->last_name = $user_array['last_name'];
$user->username = $user_array['username'];
$user->email = $user_array['email'];
$user->manager_id = $user_array['manager_id'];
$user->department_id = $user_array['department_id'];
$user->manager_id = $user_array['manager_id'] ?? null;
$user->department_id = $user_array['department_id'] ?? null;
$user->activated = $user_array['activated'];
$user->password = $this->tempPassword;