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:
31abb95
)
Enotice fix
author
eileen
<emcnaughton@wikimedia.org>
Thu, 22 Apr 2021 06:25:53 +0000
(18:25 +1200)
committer
eileen
<emcnaughton@wikimedia.org>
Thu, 22 Apr 2021 06:25:53 +0000
(18:25 +1200)
CRM/Core/ManagedEntities.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/ManagedEntities.php
b/CRM/Core/ManagedEntities.php
index 99da299d4b895057d91ecd2d0ad2ad7d23e72538..f918bb0348f7a5d96140ccda6a4c923f9733cb6f 100644
(file)
--- a/
CRM/Core/ManagedEntities.php
+++ b/
CRM/Core/ManagedEntities.php
@@
-237,7
+237,7
@@
class CRM_Core_ManagedEntities {
*/
public function insertNewEntity($todo) {
$result = civicrm_api($todo['entity'], 'create', $todo['params']);
- if (
$result['is_error']
) {
+ if (
!empty($result['is_error'])
) {
$this->onApiError($todo['entity'], 'create', $todo['params'], $result);
}