Skip to content
Browse files

[pvr] fix: syntax error in sql statement (duplicate AND)

  • Loading branch information...
1 parent 095bb25 commit f66381ca4d12fc6e232c3684e4bf2cf959051f3b @xhaggi xhaggi committed Jan 8, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/pvr/PVRDatabase.cpp
View
2 xbmc/pvr/PVRDatabase.cpp
@@ -598,7 +598,7 @@ bool CPVRDatabase::DeleteChannelsFromGroup(const CPVRChannelGroup &group, const
Filter filter;
filter.AppendWhere(PrepareSQL("idGroup = %u", group.GroupID()));
- filter.AppendWhere(PrepareSQL("AND idChannel IN (%s)", strChannelsToDelete.c_str()));
+ filter.AppendWhere(PrepareSQL("idChannel IN (%s)", strChannelsToDelete.c_str()));
bDelete = DeleteValues("map_channelgroups_channels", filter) && bDelete;
}

0 comments on commit f66381c

Please sign in to comment.
Something went wrong with that request. Please try again.