diff --git a/src/org/geometerplus/fbreader/formats/PluginCollection.java b/src/org/geometerplus/fbreader/formats/PluginCollection.java index 115f11c78..081369839 100644 --- a/src/org/geometerplus/fbreader/formats/PluginCollection.java +++ b/src/org/geometerplus/fbreader/formats/PluginCollection.java @@ -83,7 +83,7 @@ public class PluginCollection { } public FormatPlugin getPlugin(FileType fileType, FormatPlugin.Type formatType) { - if (fileType == null) { + if (fileType == null || formatType == null) { return null; }