diff --git a/dom/system/gonk/ril_worker.js b/dom/system/gonk/ril_worker.js index f519e20e83c5..8486188c745b 100644 --- a/dom/system/gonk/ril_worker.js +++ b/dom/system/gonk/ril_worker.js @@ -13936,8 +13936,8 @@ ICCUtilsHelperObject.prototype = { } } else { // GSM family display rule. - let operatorMnc = RIL.operator.mnc; - let operatorMcc = RIL.operator.mcc; + let operatorMnc = RIL.operator ? RIL.operator.mnc : -1; + let operatorMcc = RIL.operator ? RIL.operator.mcc : -1; // First detect if we are on HPLMN or one of the PLMN // specified by the SIM card.