mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Will not store fields with empty strings or weird value
This commit is contained in:
@@ -51,6 +51,10 @@ class AccountUpdateService
|
||||
$account->iban = $data['iban'];
|
||||
$account->save();
|
||||
|
||||
if($data['currency_id'] === 0) {
|
||||
unset($data['currency_id']);
|
||||
}
|
||||
|
||||
// update all meta data:
|
||||
$this->updateMetaData($account, $data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user