parent
783b023e75
commit
24103182e7
1 changed files with 1 additions and 1 deletions
|
@ -641,7 +641,7 @@ public class FavouritesDbHelper {
|
|||
|
||||
@Nullable
|
||||
public FavoriteGroup getGroup(FavouritePoint p) {
|
||||
if (flatGroups.containsKey(p.getCategory())) {
|
||||
if (p != null && flatGroups.containsKey(p.getCategory())) {
|
||||
return flatGroups.get(p.getCategory());
|
||||
} else {
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue