Cxn.register - Fix for multiple CxnApp
authorTim Otten <totten@civicrm.org>
Tue, 31 Mar 2015 07:32:56 +0000 (00:32 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 14 Jul 2015 04:00:07 +0000 (21:00 -0700)
api/v3/Cxn.php

index 9d24a3ed32dea02d7bddf253910100b145c511fc..d5ccd3fcfc515715fab5cdaf1524f1ed71f7f149 100644 (file)
@@ -88,7 +88,7 @@ function civicrm_api3_cxn_register($params) {
   }
   elseif (!empty($params['app_guid'])) {
     $appMeta = civicrm_api3('CxnApp', 'getsingle', array(
-      'app_guid' => $params['app_guid'],
+      'appId' => $params['app_guid'],
     ));
   }