From 79b360e65b7f9e86c614406944d298f12c93a631 Mon Sep 17 00:00:00 2001 From: yjogol Date: Fri, 24 Sep 2010 04:35:28 +0000 Subject: [PATCH] better detection of phantom bouquets for the bouquet-editor (y521) git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@799 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp b/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp index 7f4ddfe0e..a87b7a5de 100644 --- a/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp @@ -969,7 +969,7 @@ std::string CNeutrinoYParser::func_bouquet_editor_main(CyhookHandler *hh, std:: int mode = NeutrinoAPI->Zapit->getMode(); for (int i = 0; i < (int) g_bouquetManager->Bouquets.size(); i++) { ZapitChannelList * channels = mode == CZapitClient::MODE_RADIO ? &g_bouquetManager->Bouquets[i]->radioChannels : &g_bouquetManager->Bouquets[i]->tvChannels; - if(!channels->empty()){ + if(!channels->empty() || g_bouquetManager->Bouquets[i]->bUser){ CZapitBouquet * bouquet = g_bouquetManager->Bouquets[i]; char classname = ((i & 1) == 0) ? 'a' : 'b';