summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-13 09:57:09 +0400
committerAndrew Dolgov <[email protected]>2013-05-13 09:57:09 +0400
commitcce378761e09222fbf3fbf0698ba951b9bd59048 (patch)
treeb4a1dd4e3152d08db99f52d80d4d0afd91d1a044 /src
parentd1563821fa8f2648a7ed6323c733868e020dc67d (diff)
fix offlinedownloadservice crash on 1.7.8
Diffstat (limited to 'src')
-rw-r--r--src/org/fox/ttrss/offline/OfflineDownloadService.java2
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);