From 1e607ddcc856fd69208d1fb7e6202ab241adfa80 Mon Sep 17 00:00:00 2001 From: Shazron Abdullah Date: Thu, 25 Jun 2015 06:22:24 -0700 Subject: [PATCH] CB-9247 - typo --- src/ios/CDVCamera.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/CDVCamera.m b/src/ios/CDVCamera.m index aba400c..d03cfd8 100644 --- a/src/ios/CDVCamera.m +++ b/src/ios/CDVCamera.m @@ -46,7 +46,7 @@ static NSString* toBase64(NSData* data) { if ([data respondsToSelector:s1]) { NSString* (*func)(id, SEL) = (void *)[data methodForSelector:s1]; return func(data, s1); - } else if ([data respondsToSelector:s1]) { + } else if ([data respondsToSelector:s2]) { NSString* (*func)(id, SEL) = (void *)[data methodForSelector:s2]; return func(data, s2); } else if ([data respondsToSelector:s3]) {