mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-13 16:00:13 +00:00
Catch nullpointer.
This commit is contained in:
@@ -615,7 +615,7 @@ class JournalUpdateService
|
|||||||
$set = [
|
$set = [
|
||||||
'journal' => $this->transactionJournal,
|
'journal' => $this->transactionJournal,
|
||||||
'name' => sprintf('%s_tz', $field),
|
'name' => sprintf('%s_tz', $field),
|
||||||
'data' => $value->format('e'),
|
'data' => $value?->format('e'),
|
||||||
];
|
];
|
||||||
$factory->updateOrCreate($set);
|
$factory->updateOrCreate($set);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user