mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix tests
This commit is contained in:
@@ -51,7 +51,7 @@ class AccountUpdateService
|
||||
$account->iban = $data['iban'];
|
||||
$account->save();
|
||||
|
||||
if($data['currency_id'] === 0) {
|
||||
if(isset($data['currency_id']) && $data['currency_id'] === 0) {
|
||||
unset($data['currency_id']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user