aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/src/cgeo/geocaching/cgData.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgData.java b/main/src/cgeo/geocaching/cgData.java
index 97936f8..3a7fcd6 100644
--- a/main/src/cgeo/geocaching/cgData.java
+++ b/main/src/cgeo/geocaching/cgData.java
@@ -995,7 +995,7 @@ public class cgData {
return true;
}
- return cache.isDetailed() && dbUpdateRequired ? storeIntoDatabase(cache) : false;
+ return cache.isDetailed() && dbUpdateRequired && storeIntoDatabase(cache);
}
private static boolean storeIntoDatabase(final Geocache cache) {