mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix bug in Spectre import.
This commit is contained in:
parent
9c5463e515
commit
60e262dece
@ -67,8 +67,8 @@ class Account extends SpectreObject
|
||||
$this->nature = $data['nature'];
|
||||
$this->createdAt = new Carbon($data['created_at']);
|
||||
$this->updatedAt = new Carbon($data['updated_at']);
|
||||
|
||||
foreach ($data['extra'] as $key => $value) {
|
||||
$extraArray = \is_array($data['extra']) ? $data['extra'] : [];
|
||||
foreach ($extraArray as $key => $value) {
|
||||
$this->extra[$key] = $value;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user