mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Try false instead of null
This commit is contained in:
parent
3aeb521782
commit
295a68bb7a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue