mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fix for null client balance on import
This commit is contained in:
parent
3561415c51
commit
fb787c2c53
@ -347,7 +347,8 @@ class Import implements ShouldQueue
|
||||
$modified = $resource;
|
||||
$modified['company_id'] = $this->company->id;
|
||||
$modified['user_id'] = $this->processUserId($resource);
|
||||
|
||||
$modified['balance'] = $modified['balance'] ?: 0;
|
||||
|
||||
unset($modified['id']);
|
||||
unset($modified['contacts']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user