Try false instead of null

This commit is contained in:
snipe 2018-10-19 01:36:15 -07:00
parent 3aeb521782
commit 295a68bb7a

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'] ?? null;
$user->department_id = $user_array['department_id'] ?? null;
$user->manager_id = $user_array['manager_id'] ?? false;
$user->department_id = $user_array['department_id'] ?? false;
$user->activated = $user_array['activated'];
$user->password = $this->tempPassword;