mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-15 22:28:14 +00:00
Fix all level 2 issues.
This commit is contained in:
@@ -589,7 +589,7 @@ class BudgetRepository implements BudgetRepositoryInterface
|
||||
static function (Attachment $attachment) use ($disk) {
|
||||
$notes = $attachment->notes()->first();
|
||||
$attachment->file_exists = $disk->exists($attachment->fileName());
|
||||
$attachment->notes_text = $notes ? $notes->text : '';
|
||||
$attachment->notes_text = null !== $notes ? $notes->text : '';
|
||||
|
||||
return $attachment;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user