aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/src/cgeo/geocaching/connector/gc/GCParser.java2
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";