diff options
-rw-r--r-- | mailnews/base/src/nsMsgDBView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mailnews/base/src/nsMsgDBView.cpp b/mailnews/base/src/nsMsgDBView.cpp index a1867244b..6793ba95a 100644 --- a/mailnews/base/src/nsMsgDBView.cpp +++ b/mailnews/base/src/nsMsgDBView.cpp @@ -5255,6 +5255,7 @@ nsresult nsMsgDBView::ExpandAll() NS_IMETHODIMP nsMsgDBView::GetThreadContainingMsgHdr(nsIMsgDBHdr *msgHdr, nsIMsgThread **pThread) { + if (!m_db) return NS_ERROR_FAILURE; return m_db->GetThreadContainingMsgHdr(msgHdr, pThread); } |