fix no save web channels in bouquets

Origin commit data
------------------
Commit: d35e300edd
Author: max_10 <max_10@gmx.de>
Date: 2018-01-31 (Wed, 31 Jan 2018)
This commit is contained in:
max_10
2018-01-31 14:28:05 +01:00
committed by vanhofen
parent 1e07c64c98
commit e1b135acd5

View File

@@ -273,7 +273,7 @@ void CBouquetManager::saveBouquets(void)
for (unsigned int i = 0; i < Bouquets.size(); i++) {
if (Bouquets[i] != remainChannels) {
DBG("save Bouquets: name %s user: %d\n", Bouquets[i]->Name.c_str(), Bouquets[i]->bUser);
if(!Bouquets[i]->bUser && (!Bouquets[i]->bWebtv || !Bouquets[i]->bWebradio)) {
if(!Bouquets[i]->bUser && !Bouquets[i]->bWebtv && !Bouquets[i]->bWebradio) {
writeBouquet(bouq_fd, i,false);
}
}