mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Remove array calls and fix various bugs.
This commit is contained in:
@@ -496,7 +496,7 @@ class JournalRepository implements JournalRepositoryInterface
|
||||
*/
|
||||
public function getNoteText(TransactionJournal $journal): ?string
|
||||
{
|
||||
$note = $this->getNote($journal);
|
||||
$note = $journal->notes()->first();
|
||||
if (null === $note) {
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user