epg query: fix thinko
This commit is contained in:
parent
1f1b36a9e2
commit
452ca85ff6
1 changed files with 1 additions and 1 deletions
|
@ -2552,7 +2552,7 @@ epg_query ( epg_query_t *eq, access_t *perm )
|
|||
LIST_FOREACH(ctm, &tag->ct_ctms, ctm_tag_link) {
|
||||
ch2 = ctm->ctm_channel;
|
||||
if(ch2 == channel || channel == NULL)
|
||||
if (channel_access(channel, perm, 0))
|
||||
if (channel_access(ch2, perm, 0))
|
||||
_eq_add_channel(eq, ch2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue