mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix for importing older JSON version
This commit is contained in:
parent
b9daa28f19
commit
19f9030200
@ -175,7 +175,7 @@ class ImportService
|
||||
$account->save();
|
||||
|
||||
$emailSettings = $account->account_email_settings;
|
||||
$emailSettings->fill($settings['account_email_settings']);
|
||||
$emailSettings->fill(isset($settings['account_email_settings']) ? $settings['account_email_settings'] : $settings);
|
||||
$emailSettings->save();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user