From 29bde68337bbd6d97645a094cb691f9619357cc1 Mon Sep 17 00:00:00 2001 From: JigSawFr Date: Tue, 29 Dec 2015 11:30:55 +0100 Subject: [PATCH] Cache only used in case of search term --- src/Jackett/Indexers/WiHD.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Jackett/Indexers/WiHD.cs b/src/Jackett/Indexers/WiHD.cs index 09a61f17c..20a682feb 100644 --- a/src/Jackett/Indexers/WiHD.cs +++ b/src/Jackett/Indexers/WiHD.cs @@ -175,8 +175,8 @@ namespace Jackett.Indexers var searchTerm = query.GetQueryString(); var searchUrl = SearchUrl; - // Check cache first so we don't query the server - if(!DevMode) + // Check cache first so we don't query the server (if search term used or not in dev mode) + if(!DevMode && !string.IsNullOrEmpty(searchTerm)) { lock (cache) {