diff options
author | Andrew Dolgov <[email protected]> | 2013-05-13 09:57:09 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-13 09:57:09 +0400 |
commit | cce378761e09222fbf3fbf0698ba951b9bd59048 (patch) | |
tree | b4a1dd4e3152d08db99f52d80d4d0afd91d1a044 /src | |
parent | d1563821fa8f2648a7ed6323c733868e020dc67d (diff) |
fix offlinedownloadservice crash on 1.7.8
Diffstat (limited to 'src')
-rw-r--r-- | src/org/fox/ttrss/offline/OfflineDownloadService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/fox/ttrss/offline/OfflineDownloadService.java b/src/org/fox/ttrss/offline/OfflineDownloadService.java index 410c339a..07f224aa 100644 --- a/src/org/fox/ttrss/offline/OfflineDownloadService.java +++ b/src/org/fox/ttrss/offline/OfflineDownloadService.java @@ -393,7 +393,7 @@ public class OfflineDownloadService extends Service { stmtInsert.bindLong(index++, article.feed_id); stmtInsert.bindString(index++, tagsString); // comma-separated tags stmtInsert.bindString(index++, article.content); - stmtInsert.bindString(index++, article.author); + stmtInsert.bindString(index++, article.author != null ? article.author : ""); if (m_downloadImages) { Document doc = Jsoup.parse(article.content); |