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:
2068e7c
)
Ensure api/v3/utils.php required before civicrm_api3_create_error 5.68
author
Chris Cant
<chris@phdcc.com>
Thu, 9 Nov 2023 14:37:50 +0000
(14:37 +0000)
committer
Chris Cant
<chris@phdcc.com>
Thu, 9 Nov 2023 14:37:50 +0000
(14:37 +0000)
Civi/API/Kernel.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/API/Kernel.php
b/Civi/API/Kernel.php
index 9630e8c60bbeb060571819f81224fe76d5a76b36..97a9f35ca83c52728922d3f1b061699583c05622 100644
(file)
--- a/
Civi/API/Kernel.php
+++ b/
Civi/API/Kernel.php
@@
-404,6
+404,7
@@
class Kernel {
}
}
+ require_once "api/v3/utils.php";
$data = \civicrm_api3_create_error($msg, $data);
if (isset($apiRequest['params']) && is_array($apiRequest['params']) && !empty($apiRequest['params']['api.has_parent'])) {