1
0
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:
Hillel Coren 2017-07-12 10:52:49 +03:00
parent b9daa28f19
commit 19f9030200

View File

@ -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();
}