diff --git a/mozilla/suite/browser/src/nsLocalSearchService.cpp b/mozilla/suite/browser/src/nsLocalSearchService.cpp index eb5293b099d..536db3e8bb2 100755 --- a/mozilla/suite/browser/src/nsLocalSearchService.cpp +++ b/mozilla/suite/browser/src/nsLocalSearchService.cpp @@ -335,7 +335,7 @@ LocalSearchDataSource::doMatch(nsIRDFLiteral *literal, const nsString &matchMeth { PRBool found = PR_FALSE; - if ((nsnull == literal) || (nsnull == matchMethod) || (nsnull == matchText)) + if ((nsnull == literal) || matchMethod.IsEmpty() || matchText.IsEmpty()) return(found); const PRUnichar *str = nsnull;