summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kristjansson <danielk@cuymedia.net>2011-08-11 15:51:34 (GMT)
committer Daniel Kristjansson <danielk@cuymedia.net>2011-08-11 15:51:34 (GMT)
commitd65631013a430d3609b90e9b04f4dc663cf01029 (patch)
treefcb05ac39dc051790cbc6d13587f3985635b0b12
parent5161a5f43df98250314acbfda15ab5f8e3d8002d (diff)
Fixes #9575. Fix an ambiguous DB query (fixed by [d14b660c16] in master).
-rw-r--r--mythtv/libs/libmythtv/channelutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmythtv/channelutil.cpp b/mythtv/libs/libmythtv/channelutil.cpp
index 712ee7c..9fda1ce 100644
--- a/mythtv/libs/libmythtv/channelutil.cpp
+++ b/mythtv/libs/libmythtv/channelutil.cpp
@@ -1785,7 +1785,7 @@ DBChanList ChannelUtil::GetChannels(uint sourceid, bool vis_only, QString grp, i
qstr += QString(",channelgroup ");
if (sourceid)
- qstr += QString("WHERE sourceid='%1' ").arg(sourceid);
+ qstr += QString("WHERE channel.sourceid='%1' ").arg(sourceid);
else
qstr += ",cardinput,capturecard "
"WHERE cardinput.sourceid = channel.sourceid AND "