From ba2342d45f7b21891f0e67e09bcfb8677f55d68c Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 10 Mar 2019 07:15:53 +0000 Subject: [PATCH] Prevent crash --- app/src/main/java/eu/faircode/email/Core.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index e1869a440c..985fcf8512 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -234,7 +234,7 @@ class Core { Long newid = null; if (EntityOperation.MOVE.equals(op.name) && - jargs.length() > 2) + jargs.length() > 2 && !jargs.isNull(2)) newid = jargs.getLong(2); if ((EntityOperation.ADD.equals(op.name) ||