]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix cut & paste error in api/epg. (#1360)
authordave-p <gh@pickles.me.uk>
Thu, 8 Oct 2020 16:36:26 +0000 (17:36 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Oct 2020 16:36:26 +0000 (18:36 +0200)
src/api/api_epg.c

index 3cb8388d47c5e432e65a35e2a646ef9eae12528b..199e7c37a16b12ebe23cc4bc97e35b409db23235 100644 (file)
@@ -284,7 +284,7 @@ api_epg_filter_add_num
   else if (!strcmp(k, "episode"))
     api_epg_filter_set_num(&eq->episode, v1, v2, comp);
   else if (!strcmp(k, "stars"))
-    api_epg_filter_set_num(&eq->episode, v1, v2, comp);
+    api_epg_filter_set_num(&eq->stars, v1, v2, comp);
   else if (!strcmp(k, "age"))
     api_epg_filter_set_num(&eq->age, v1, v2, comp);
 }