Skip to content
Snippets Groups Projects
Commit bff4e319 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#577 - fall back to default account if account of origin transaction is readonly

parent b1b6ed54
No related branches found
No related tags found
No related merge requests found
...@@ -356,7 +356,7 @@ public class TransactionController extends BaseController ...@@ -356,7 +356,7 @@ public class TransactionController extends BaseController
if(newTransaction.getAccount().getAccountState() != AccountState.FULL_ACCESS) if(newTransaction.getAccount().getAccountState() != AccountState.FULL_ACCESS)
{ {
newTransaction.setAccount(helpers.getCurrentAccountOrDefault()); newTransaction.setAccount(accountService.getRepository().findByIsDefault(true));
} }
DateTime date = dateService.getDateTimeFromCookie(cookieDate); DateTime date = dateService.getDateTimeFromCookie(cookieDate);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment