зеркало из https://github.com/mozilla/pjs.git
fix 202169, empty from header messes up filters based on ab presence, a=mkaply, r/sr=me, patch by kalium@gmx.de
This commit is contained in:
Родитель
1288ee3b83
Коммит
54b73c6a90
|
@ -866,6 +866,10 @@ nsresult nsMsgSearchTerm::MatchInAddressBook(const char * aAddress, PRBool *pRes
|
|||
nsresult rv = InitializeAddressBook();
|
||||
*pResult = PR_FALSE;
|
||||
|
||||
// Some junkmails have empty From: fields.
|
||||
if (aAddress == NULL || strlen(aAddress) == 0)
|
||||
return rv;
|
||||
|
||||
if (mDirectory)
|
||||
{
|
||||
PRBool cardExists = PR_FALSE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче