Check if temp id is null

This commit is contained in:
M66B 2019-03-07 10:18:42 +00:00
parent 8cfd700928
commit 6d81aed83a
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ class Core {
}
Log.i(folder.name + " moved uid=" + uid);
if (jargs.length() > 2) {
if (jargs.length() > 2 && !jargs.isNull(2)) {
long tmpid = jargs.getLong(2);
try {
db.beginTransaction();