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

View File

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