Prevent crash

This commit is contained in:
M66B
2019-03-14 17:52:15 +00:00
parent 0a80d21534
commit 9f3fd02e34
3 changed files with 8 additions and 8 deletions

View File

@@ -322,7 +322,7 @@ public class EntityFolder implements Serializable {
else
folder.keep_days = folder.sync_days;
if (json.has("display"))
if (json.has("display") && !json.isNull("display"))
folder.display = json.getString("display");
if (json.has("hide"))