From 3ca12e2bb9898df7fa2effd6f8fba0910489c19f Mon Sep 17 00:00:00 2001 From: Daniel Applebaum Date: Thu, 3 Sep 2009 16:13:00 +0000 Subject: [PATCH] Issue 478 --- src/com/android/email/activity/MessageList.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/com/android/email/activity/MessageList.java b/src/com/android/email/activity/MessageList.java index 90157adf7..6b5803cc1 100644 --- a/src/com/android/email/activity/MessageList.java +++ b/src/com/android/email/activity/MessageList.java @@ -1298,12 +1298,11 @@ public class MessageList extends K9ListActivity { } public void removeMessage(MessageInfoHolder holder) { - if (holder.folder == null) { + if (holder == null) { return; } - - if (holder == null) { + if (holder.folder == null) { return; }