diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/de/danoeh/antennapod/util/ChapterUtils.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/util/ChapterUtils.java b/src/de/danoeh/antennapod/util/ChapterUtils.java index 65fb6daf2..4e153a9f9 100644 --- a/src/de/danoeh/antennapod/util/ChapterUtils.java +++ b/src/de/danoeh/antennapod/util/ChapterUtils.java @@ -145,6 +145,9 @@ public class ChapterUtils { } private static boolean chaptersValid(List<Chapter> chapters) { + if (chapters.isEmpty()) { + return false; + } for (Chapter c : chapters) { if (c.getTitle() == null) { return false; |