From a153735ac32e5414a54d7bc3f1baa06ca44bc87f Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 5 Oct 2024 09:43:53 +0200 Subject: [PATCH] Fix https://github.com/firefly-iii/firefly-iii/issues/9175 --- app/Validation/AccountValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Validation/AccountValidator.php b/app/Validation/AccountValidator.php index 62a4ee6258..1b9734c8b3 100644 --- a/app/Validation/AccountValidator.php +++ b/app/Validation/AccountValidator.php @@ -86,7 +86,7 @@ class AccountValidator app('log')->debug('AccountValidator source is set to NULL'); } if (null !== $account) { - app('log')->debug(sprintf('AccountValidator source is set to #%d: "%s" (%s)', $account->id, $account->name, $account->accountType->type)); + app('log')->debug(sprintf('AccountValidator source is set to #%d: "%s" (%s)', $account->id, $account->name, $account->accountType?->type)); } $this->source = $account; }