Method in DB was using the wrong constant

This commit is contained in:
daniel oeh 2012-06-26 22:54:07 +02:00
parent c3509b1b92
commit 18992e4b37
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ public class PodDBAdapter {
public final Cursor getSimpleChaptersOfFeedItemCursor(final FeedItem item) { public final Cursor getSimpleChaptersOfFeedItemCursor(final FeedItem item) {
open(); open();
Cursor c = db Cursor c = db
.query(CREATE_TABLE_SIMPLECHAPTERS, null, KEY_ID + "=?", .query(TABLE_NAME_SIMPLECHAPTERS, null, KEY_ID + "=?",
new String[] { String.valueOf(item.getId()) }, null, new String[] { String.valueOf(item.getId()) }, null,
null, null); null, null);
return c; return c;