diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/MangaGeneric.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/MangaGeneric.cpp b/src/plugins/MangaGeneric.cpp index 47fbf08..767f077 100644 --- a/src/plugins/MangaGeneric.cpp +++ b/src/plugins/MangaGeneric.cpp @@ -142,6 +142,9 @@ namespace QuickMedia { } SearchResult MangaGenericSearchPage::search(const std::string &str, BodyItems &result_items) { + if(str.empty()) + return SearchResult::OK; + return plugin_result_to_search_result(get_page(str, 0, result_items)); } |