From: Jay Freeman (saurik) Date: Wed, 23 Feb 2011 14:40:08 +0000 (-0800) Subject: Apple's bridge requires NSNull. X-Git-Tag: v1.1.0%b1~241 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/849cd6bf6c3a6bd758b47a2960bf5418de1e793a Apple's bridge requires NSNull. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index ddec6639..6d697a06 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -3999,11 +3999,11 @@ static NSString *Warning_; } - (NSString *) plmn { - return PLMN_; + return (id) PLMN_ ?: [NSNull null]; } - (NSString *) ecid { - return ChipID_; + return (id) ChipID_ ?: [NSNull null]; } - (NSString *) serial { @@ -4011,7 +4011,7 @@ static NSString *Warning_; } - (NSString *) role { - return Role_; + return (id) Role_ ?: [NSNull null]; } - (NSString *) model {