Added check

This commit is contained in:
M66B 2020-11-05 21:44:13 +01:00
parent 71cb5d05fb
commit 04eca44f11
1 changed files with 2 additions and 0 deletions

View File

@ -1169,6 +1169,8 @@ class Core {
DB db = DB.getInstance(context); DB db = DB.getInstance(context);
EntityAccount account = db.account().getAccount(folder.account); EntityAccount account = db.account().getAccount(folder.account);
if (account == null)
throw new IllegalArgumentException("account missing");
try { try {
if (removed) { if (removed) {