aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
Diffstat (limited to 'main/src')
-rw-r--r--main/src/cgeo/geocaching/CacheListActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/CacheListActivity.java b/main/src/cgeo/geocaching/CacheListActivity.java
index 433c902..96a0ac1 100644
--- a/main/src/cgeo/geocaching/CacheListActivity.java
+++ b/main/src/cgeo/geocaching/CacheListActivity.java
@@ -1616,7 +1616,7 @@ public class CacheListActivity extends AbstractListActivity implements FilteredA
break;
}
// if there is a title given in the activity start request, use this one instead of the default
- if (StringUtils.isNotBlank(extras.getString(Intents.EXTRA_TITLE))) {
+ if (extras != null && StringUtils.isNotBlank(extras.getString(Intents.EXTRA_TITLE))) {
title = extras.getString(Intents.EXTRA_TITLE);
}
updateTitle();