Updated getKeys to match core.
authorJohn Kirk <accounts@civifirst.com>
Mon, 9 Oct 2017 21:20:52 +0000 (21:20 +0000)
committerJohn Kirk <accounts@civifirst.com>
Mon, 9 Oct 2017 21:26:05 +0000 (21:26 +0000)
api/v3/Extension.php

index 9e5fcf1c2eda6c48201746caa70ebf85ff561461..3b9378e6c8e9596a1f05ced93b938ae9d1e77a7a 100644 (file)
@@ -421,5 +421,7 @@ function _civicrm_api3_getKeys($params, $key = 'keys') {
     }
     return explode(API_V3_EXTENSION_DELIMITER, $params[$key]);
   }
-  throw new API_Exception("Missing required parameter: key, keys, or path");
+  else {
+    return array();
+  }
 }