CB-8351 Fix custom implementation of integerValueForKey (close #79)

2ead6335c9 (diff-3cfd0e1f93894bd4e501e8e0e4634850)
This commit is contained in:
Gene Connolly 2015-03-30 14:13:50 -04:00 committed by Andrew Grieve
parent 7209d38fa2
commit 04ed502d92

View File

@ -185,7 +185,7 @@ static NSString* toBase64(NSData* data) {
{
NSInteger value = defaultValue;
NSNumber* val = [self valueForKey:key]; // value is an NSNumber
NSNumber* val = [dict valueForKey:key]; // value is an NSNumber
if (val != nil) {
value = [val integerValue];