mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
1f6a4a9bd8
commit
ba2342d45f
|
@ -234,7 +234,7 @@ class Core {
|
||||||
Long newid = null;
|
Long newid = null;
|
||||||
|
|
||||||
if (EntityOperation.MOVE.equals(op.name) &&
|
if (EntityOperation.MOVE.equals(op.name) &&
|
||||||
jargs.length() > 2)
|
jargs.length() > 2 && !jargs.isNull(2))
|
||||||
newid = jargs.getLong(2);
|
newid = jargs.getLong(2);
|
||||||
|
|
||||||
if ((EntityOperation.ADD.equals(op.name) ||
|
if ((EntityOperation.ADD.equals(op.name) ||
|
||||||
|
|
Loading…
Reference in New Issue