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