Possible fix for #5869

This commit is contained in:
James Cole
2022-03-10 17:57:43 +01:00
parent ca7c86a057
commit 07813fa858
2 changed files with 4 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ class SetDestinationAccount implements ActionInterface
return false;
}
$type = $object->transactionType->type;
$this->repository->setUser($user);
// if this is a transfer or a deposit, the new destination account must be an asset account or a default account, and it MUST exist: