projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a67e8
)
Updated getKeys to match core.
author
John Kirk
<accounts@civifirst.com>
Mon, 9 Oct 2017 21:20:52 +0000
(21:20 +0000)
committer
John Kirk
<accounts@civifirst.com>
Mon, 9 Oct 2017 21:26:05 +0000
(21:26 +0000)
api/v3/Extension.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Extension.php
b/api/v3/Extension.php
index 9e5fcf1c2eda6c48201746caa70ebf85ff561461..3b9378e6c8e9596a1f05ced93b938ae9d1e77a7a 100644
(file)
--- a/
api/v3/Extension.php
+++ b/
api/v3/Extension.php
@@
-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();
+ }
}