diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2014-08-12 12:28:13 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2014-08-12 12:28:13 +0200 |
commit | 1ff748b74770e8eba5fd823125a2947b1878d0c3 (patch) | |
tree | 5c4e0aacf9acbc0836ad66fc3e0b9c87d6e0d914 /main | |
parent | 26990de1b7dc2caa3e6212ca995df966f72621d0 (diff) | |
download | cgeo-1ff748b74770e8eba5fd823125a2947b1878d0c3.zip cgeo-1ff748b74770e8eba5fd823125a2947b1878d0c3.tar.gz cgeo-1ff748b74770e8eba5fd823125a2947b1878d0c3.tar.bz2 |
Allow erasing of personal note on server
This is the "release" part of fix for #4163.
Diffstat (limited to 'main')
-rw-r--r-- | main/src/cgeo/geocaching/connector/gc/GCParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCParser.java b/main/src/cgeo/geocaching/connector/gc/GCParser.java index 60d7856..4ada4f9 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCParser.java +++ b/main/src/cgeo/geocaching/connector/gc/GCParser.java @@ -1986,7 +1986,7 @@ public abstract class GCParser { try { final JSONObject jo = new JSONObject() .put("dto", (new JSONObject() - .put("et", cache.getPersonalNote()) + .put("et", StringUtils.defaultString(cache.getPersonalNote())) .put("ut", userToken))); final String uriSuffix = "SetUserCacheNote"; |