diff --git a/webif/cgi-bin/epg/search.jim b/webif/cgi-bin/epg/search.jim index 8f57a48..d78989e 100755 --- a/webif/cgi-bin/epg/search.jim +++ b/webif/cgi-bin/epg/search.jim @@ -9,7 +9,7 @@ header require totop -set ct [cgi_unquote_input [cgi_get ct 0]] +set ct [cgi_unquote_input [cgi_get ct ""]] set crid [cgi_unquote_input [cgi_get crid ""]] set scrid [cgi_unquote_input [cgi_get scrid ""]] @@ -41,7 +41,7 @@ set cmd "search" if {$searchfull} { set cmd "searchall" } set dedup 0 -if {$ct > 0 } { +if {$ct ne "" } { set records [epg dbfetch dump -type $ct] if {[[settings] genrededup]} { set dedup 1 } } elseif {$crid ne ""} {