Fixed a possible null pointer exception in TaskEditActivity

pull/14/head
Sam Bosley 13 years ago
parent 5094e1a3f3
commit 8e405124cd

@ -580,6 +580,7 @@ public final class TaskEditActivity extends Activity {
database.openForReading();
if(idParam > -1L) {
model = taskService.fetchById(idParam, Task.PROPERTIES);
if (model != null)
model.clearValue(Task.REMOTE_ID); // Having this can screw up autosync
}

Loading…
Cancel
Save