aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/apps/AbstractLocusApp.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/apps/AbstractLocusApp.java')
-rw-r--r--main/src/cgeo/geocaching/apps/AbstractLocusApp.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/apps/AbstractLocusApp.java b/main/src/cgeo/geocaching/apps/AbstractLocusApp.java
index 982dae6..d1dda2a 100644
--- a/main/src/cgeo/geocaching/apps/AbstractLocusApp.java
+++ b/main/src/cgeo/geocaching/apps/AbstractLocusApp.java
@@ -123,7 +123,7 @@ public abstract class AbstractLocusApp extends AbstractApp {
if (cache.getHidden() != null) {
pg.hidden = ISO8601DATE.format(cache.getHidden().getTime());
}
- int locusId = toLocusId(CacheType.getById(cache.getType()));
+ int locusId = toLocusId(cache.getCacheType());
if (locusId != NO_LOCUS_ID) {
pg.type = locusId;
}