]> git.saurik.com Git - cydia.git/commitdiff
Do not use [package_ id] to save state as that could be nil.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 11 Mar 2011 00:35:33 +0000 (16:35 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 11 Mar 2011 00:56:49 +0000 (16:56 -0800)
MobileCydia.mm

index b6f1d68b23d72b96a24283e8e69b79512e624f9e..55553282cbf7f0e2c18e7debe98fc0a595d7c4f6 100644 (file)
@@ -7717,7 +7717,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 @implementation PackageSettingsController
 
 - (NSURL *) navigationURL {
-    return [NSURL URLWithString:[NSString stringWithFormat:@"cydia://package/%@/settings", [package_ id]]];
+    return [NSURL URLWithString:[NSString stringWithFormat:@"cydia://package/%@/settings", (id) name_]];
 }
 
 - (NSInteger) numberOfSectionsInTableView:(UITableView *)tableView {