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:
0b0b329
)
Various tests assume civicrm_api() $entity param is nullable.
author
mark burdett
<mfburdett@gmail.com>
Tue, 19 Nov 2019 04:13:03 +0000
(20:13 -0800)
committer
mark burdett
<mfburdett@gmail.com>
Tue, 19 Nov 2019 04:13:40 +0000
(20:13 -0800)
api/api.php
patch
|
blob
|
blame
|
history
diff --git
a/api/api.php
b/api/api.php
index 3eec1a669514d17375fff3b6801f43d200718fae..61501b6afd883d0816f8bc94cebea33f0b4ca1ff 100644
(file)
--- a/
api/api.php
+++ b/
api/api.php
@@
-19,7
+19,7
@@
*
* @return array|int
*/
-function civicrm_api(string $entity, string $action, array $params, $extra = NULL) {
+function civicrm_api(string $entity
= NULL
, string $action, array $params, $extra = NULL) {
return \Civi::service('civi_api_kernel')->runSafe($entity, $action, $params, $extra);
}