From 18992e4b3781a0d76f247976d94a2f7b8ce7240d Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Tue, 26 Jun 2012 22:54:07 +0200 Subject: Method in DB was using the wrong constant --- src/de/podfetcher/storage/PodDBAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/podfetcher/storage/PodDBAdapter.java b/src/de/podfetcher/storage/PodDBAdapter.java index 219e48c54..47cde72c2 100644 --- a/src/de/podfetcher/storage/PodDBAdapter.java +++ b/src/de/podfetcher/storage/PodDBAdapter.java @@ -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; -- cgit v1.2.3