mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-19 16:10:00 +00:00
Add some slack notifications and a todo to fix the rest
This commit is contained in:
@@ -57,6 +57,7 @@ class MoveDescriptionToNotes implements ActionInterface
|
||||
$object = TransactionJournal::where('user_id', $journal['user_id'])->find($journal['transaction_journal_id']);
|
||||
if (null === $object) {
|
||||
Log::error(sprintf('No journal #%d belongs to user #%d.', $journal['transaction_journal_id'], $journal['user_id']));
|
||||
// TODO introduce error
|
||||
return false;
|
||||
}
|
||||
$note = $object->notes()->first();
|
||||
|
||||
Reference in New Issue
Block a user