Skip to content

Commit

Permalink
Fixes #9575. Fix an ambiguous DB query (fixed by [d14b660] in master).
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Aug 11, 2011
1 parent 5161a5f commit d656310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/channelutil.cpp
Expand Up @@ -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 "
Expand Down

0 comments on commit d656310

Please sign in to comment.