Skip to content

Commit

Permalink
fix for '#49' (problem to display undefined value)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme Lebel committed Oct 18, 2012
1 parent 631a227 commit 81cbaba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/mongo-objc-driver
3 changes: 3 additions & 0 deletions Sources/Helpers/MODHelper.m
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ + (NSMutableDictionary *)convertForOutlineWithValue:(id)dataValue dataKey:(NSStr
[(NSMutableArray *)child addObject:[self convertForOutlineWithValue:arrayDataValue dataKey:arrayDataKey]];
[arrayDataKey release];
}
} else if ([dataValue isKindOfClass:[MODUndefined class]]) {
type = @"Undefined";
value = [dataValue tengenString];
} else {
NSLog(@"type %@ value %@", [dataValue class], dataValue);
NSAssert(NO, @"unknown type type %@ value %@", [dataValue class], dataValue);
Expand Down

0 comments on commit 81cbaba

Please sign in to comment.