Permalink
Browse files

Fixes #9575. Fix an ambiguous DB query (fixed by [d14b660] in master).

  • Loading branch information...
1 parent 5161a5f commit d65631013a430d3609b90e9b04f4dc663cf01029 @daniel-kristjansson daniel-kristjansson committed Aug 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 "

0 comments on commit d656310

Please sign in to comment.