Fixed folder import compatibility

pull/152/head
M66B 6 years ago
parent 693f6d91ae
commit 9880f10a5b

@ -290,7 +290,9 @@ public class EntityFolder implements Serializable {
public static EntityFolder fromJSON(JSONObject json) throws JSONException {
EntityFolder folder = new EntityFolder();
folder.id = json.getLong("id");
if (json.has("id"))
folder.id = json.getLong("id");
folder.name = json.getString("name");
folder.type = json.getString("type");

Loading…
Cancel
Save