diff --git a/dom/contacts/fallback/ContactService.jsm b/dom/contacts/fallback/ContactService.jsm index b43b2e0a6985..e6921ab3a7bd 100644 --- a/dom/contacts/fallback/ContactService.jsm +++ b/dom/contacts/fallback/ContactService.jsm @@ -152,7 +152,7 @@ let DOMContactManager = { mRIL.getICCContacts( msg.options.contactType, function (aErrorMsg, aType, aContacts) { - if (aErrorMsg) { + if (aErrorMsg !== 'undefined') { mm.sendAsyncMessage("Contacts:GetSimContacts:Return:KO", {requestID: msg.requestID, errorMsg: aErrorMsg});