You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/03/31 02:10:48 UTC

cordova-plugin-camera git commit: CB-8351 Fix custom implementation of integerValueForKey (close #79)

Repository: cordova-plugin-camera
Updated Branches:
  refs/heads/master 7209d38fa -> 04ed502d9


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

https://github.com/apache/cordova-plugin-camera/commit/2ead6335c92deb117cc3ef84d0a15db296de8dc5#diff-3cfd0e1f93894bd4e501e8e0e4634850


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/04ed502d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/04ed502d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/04ed502d

Branch: refs/heads/master
Commit: 04ed502d9210c02d1ae3b5d0eadd6cfa8c41d7a9
Parents: 7209d38
Author: Gene Connolly <co...@gmail.com>
Authored: Mon Mar 30 14:13:50 2015 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Mar 30 20:10:24 2015 -0400

----------------------------------------------------------------------
 src/ios/CDVCamera.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/04ed502d/src/ios/CDVCamera.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVCamera.m b/src/ios/CDVCamera.m
index 30e5173..6eaa79d 100644
--- a/src/ios/CDVCamera.m
+++ b/src/ios/CDVCamera.m
@@ -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];


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org