aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Sommerfeld <kai.sommerfeld@gmx.com>2021-04-24 11:09:42 +0200
committerKai Sommerfeld <kai.sommerfeld@gmx.com>2021-04-24 12:39:33 +0200
commit02cd940afb445148d4765f40398ef103b5e20cf6 (patch)
tree8ab96896217ca9ac15660e3472f0c989388bf3e1
parentf19624acf158e3dbe316df65e535a49cde817e86 (diff)
[PVR] Fix CPVREpgDatabase::QueueDeleteEpgTags to actually delete the tags from epgtags table.
-rw-r--r--xbmc/pvr/epg/EpgDatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/pvr/epg/EpgDatabase.cpp b/xbmc/pvr/epg/EpgDatabase.cpp
index b23110dc15..41ed327b5b 100644
--- a/xbmc/pvr/epg/EpgDatabase.cpp
+++ b/xbmc/pvr/epg/EpgDatabase.cpp
@@ -1099,7 +1099,7 @@ bool CPVREpgDatabase::QueueDeleteEpgTags(int iEpgId)
filter.AppendWhere(PrepareSQL("idEpg = %u", iEpgId));
std::string strQuery;
- BuildSQL(PrepareSQL("DELETE FROM %s ", "epg"), filter, strQuery);
+ BuildSQL(PrepareSQL("DELETE FROM %s ", "epgtags"), filter, strQuery);
return QueueDeleteQuery(strQuery);
}