Prevent NPE

This commit is contained in:
Martin Fietz 2016-02-09 18:10:35 +01:00
parent 1e5f988479
commit b7ff0d1565
1 changed files with 2 additions and 2 deletions

View File

@ -425,10 +425,10 @@ public class FeedMedia extends FeedFile implements Playable {
@Override
public String getFeedTitle() {
if (item == null) {
if (item == null || item.getFeed() == null) {
return null;
}
return getItem().getFeed().getTitle();
return item.getFeed().getTitle();
}
@Override