aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2015-03-07 08:53:59 +0100
committerBananeweizen <bananeweizen@gmx.de>2015-03-07 08:53:59 +0100
commit0c32a331a34715bbd6c34b3bc1f04d9fb0799861 (patch)
treee8c8961c0ec859604ed533ab3d28aabb17b5a906 /main
parent37ea35d2a21d826f419b288f386864f18a2ac0ff (diff)
downloadcgeo-0c32a331a34715bbd6c34b3bc1f04d9fb0799861.zip
cgeo-0c32a331a34715bbd6c34b3bc1f04d9fb0799861.tar.gz
cgeo-0c32a331a34715bbd6c34b3bc1f04d9fb0799861.tar.bz2
fix #4720: NPE when trying to load more caches
Diffstat (limited to 'main')
-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();