Skip to content

Commit

Permalink
Fixed problem with ContactManager.allContacts where a phone number la…
Browse files Browse the repository at this point in the history
…bel had a space in it.
  • Loading branch information
shazron committed Jun 3, 2009
1 parent 83abd2a commit 185a09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/Classes/OCABMutableMultiValue.m
Expand Up @@ -46,7 +46,7 @@ - (NSString*) JSONValue
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
for (CFIndex i = 0; i < count; i++)
{
pair = [[[NSString alloc] initWithFormat:@"%@:'%@'", [self localizedLabelAt:i], [self valueAt:i]] autorelease];
pair = [[[NSString alloc] initWithFormat:@"'%@':'%@'", [self localizedLabelAt:i], [self valueAt:i]] autorelease];
[json appendString:pair];

if (i+1 != count) {
Expand Down

0 comments on commit 185a09f

Please sign in to comment.