From 36289af071a4cff64852d32c53e94b727661f757 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 6 Feb 2012 14:21:56 +0300 Subject: [PATCH] check for article.attachments not being null, bump version --- AndroidManifest.xml | 4 ++-- src/org/fox/ttrss/ArticleFragment.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 706e6090..8ad4b992 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="61" + android:versionName="0.4.13" > diff --git a/src/org/fox/ttrss/ArticleFragment.java b/src/org/fox/ttrss/ArticleFragment.java index 272dfa34..d79998db 100644 --- a/src/org/fox/ttrss/ArticleFragment.java +++ b/src/org/fox/ttrss/ArticleFragment.java @@ -152,7 +152,7 @@ public class ArticleFragment extends Fragment { "" + "" + articleContent; - if (m_article.attachments.size() != 0) { + if (m_article.attachments != null && m_article.attachments.size() != 0) { String attachments = "
Attachments: "; for (Attachment a : m_article.attachments) {