mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Fix #7505
This commit is contained in:
@@ -154,6 +154,9 @@ trait AccountServiceTrait
|
||||
if (is_bool($data[$field]) && true === $data[$field]) {
|
||||
$data[$field] = 1;
|
||||
}
|
||||
if($data[$field] instanceof Carbon) {
|
||||
$data[$field] = $data[$field]->toAtomString();
|
||||
}
|
||||
|
||||
$factory->crud($account, $field, (string)$data[$field]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user