aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/Geocache.java
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2013-05-28 22:52:40 +0200
committerrsudev <rasch@munin-soft.de>2013-05-28 22:52:40 +0200
commita7de49db675048db5ae0c05ccd730a8579e6876e (patch)
treeff1a3eb5f58557e78ba884bbe9774ee5c4559e26 /main/src/cgeo/geocaching/Geocache.java
parentd93a286f8c1ac95439936f83ddddc3e60d7e4726 (diff)
downloadcgeo-a7de49db675048db5ae0c05ccd730a8579e6876e.zip
cgeo-a7de49db675048db5ae0c05ccd730a8579e6876e.tar.gz
cgeo-a7de49db675048db5ae0c05ccd730a8579e6876e.tar.bz2
Fixed issue with not loggable OC-caches
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
-rw-r--r--main/src/cgeo/geocaching/Geocache.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java
index e19d5e0..c96acc6 100644
--- a/main/src/cgeo/geocaching/Geocache.java
+++ b/main/src/cgeo/geocaching/Geocache.java
@@ -452,7 +452,7 @@ public class Geocache implements ICache, IWaypoint {
}
public void logVisit(final IAbstractActivity fromActivity) {
- if (StringUtils.isBlank(cacheId)) {
+ if (!getConnector().canLog(this)) {
fromActivity.showToast(((Activity) fromActivity).getResources().getString(R.string.err_cannot_log_visit));
return;
}