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:
4c03474
)
fix fatal error on custom data import
author
Pradeep Nayak
<pradpnayak@gmail.com>
Tue, 30 May 2023 16:25:37 +0000
(17:25 +0100)
committer
Pradeep Nayak
<pradpnayak@gmail.com>
Tue, 30 May 2023 16:25:37 +0000
(17:25 +0100)
CRM/Custom/Import/Parser/Api.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Custom/Import/Parser/Api.php
b/CRM/Custom/Import/Parser/Api.php
index 2b2cbbcba293c867ae1460a9e8da7f856fa4b2f1..cd2ed4edd29f41a932f8b03839b5c1eb00a14db2 100644
(file)
--- a/
CRM/Custom/Import/Parser/Api.php
+++ b/
CRM/Custom/Import/Parser/Api.php
@@
-69,7
+69,7
@@
class CRM_Custom_Import_Parser_Api extends CRM_Import_Parser {
$this->setImportStatus($rowNumber, 'IMPORTED', '', $formatted['id']);
}
catch (CRM_Core_Exception $e) {
- $this->setImportStatus($rowNumber, 'ERROR',
'', $e->getMessage()
);
+ $this->setImportStatus($rowNumber, 'ERROR',
$e->getMessage(), $formatted['id']
);
}
}