From: Jaroslav Kysela Date: Sun, 17 Aug 2014 17:59:41 +0000 (+0200) Subject: ACL: fix the channel tag list creation X-Git-Tag: v4.1~1527 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b886d1965c2722849b415deee83f9c95cf5ce0e1;p=thirdparty%2Ftvheadend.git ACL: fix the channel tag list creation --- diff --git a/src/access.c b/src/access.c index 9fb97c1ac..e99d6d796 100644 --- a/src/access.c +++ b/src/access.c @@ -292,7 +292,7 @@ access_update(access_t *a, access_entry_t *ae) } } - if(ae->ae_chtag) { + if(ae->ae_chtag && ae->ae_chtag[0] != '\0') { if (a->aa_chtags == NULL) a->aa_chtags = htsmsg_create_list(); htsmsg_add_str(a->aa_chtags, NULL, ae->ae_chtag);