aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java')
-rw-r--r--main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java b/main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java
index 6d2de02..a9c041c 100644
--- a/main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java
+++ b/main/src/cgeo/geocaching/connector/oc/OC11XMLParser.java
@@ -434,7 +434,7 @@ public class OC11XMLParser {
attributeNode.setEndTextElementListener(new EndTextElementListener() {
@Override
public void end(String body) {
- CacheAttribute attribute = AttributeMapper.getAttribute(attributeId);
+ CacheAttribute attribute = CacheAttribute.getByOcId(attributeId);
if (attribute != null) {
// semantic of attributes on opencaching is always "yes"
cacheHolder.cache.getAttributes().add(attribute.getAttributeName(true));