This commit is contained in:
M66B 2022-04-24 09:55:04 +02:00
parent 1ab6a71ed6
commit ab6e719779
1 changed files with 4 additions and 2 deletions

View File

@ -1235,7 +1235,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
for (EntityAccount account : accounts) {
JSONObject jcondition = new JSONObject();
try {
jcondition = new JSONObject(account.conditions);
if (!TextUtils.isEmpty(account.conditions))
jcondition = new JSONObject(account.conditions);
} catch (Throwable ex) {
Log.e(ex);
}
@ -2938,7 +2939,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
for (EntityAccount account : accounts) {
JSONObject jcondition = new JSONObject();
try {
jcondition = new JSONObject(account.conditions);
if (!TextUtils.isEmpty(account.conditions))
jcondition = new JSONObject(account.conditions);
} catch (Throwable ex) {
Log.e(ex);
}