projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #9724 from civicrm/michaelmcandrew-CRM-19921
[civicrm-core.git]
/
api
/
v3
/
examples
/
ContributionSoft
/
Create.php
diff --git
a/api/v3/examples/ContributionSoft/Create.php
b/api/v3/examples/ContributionSoft/Create.php
index d88953f94f17cf8631fbd93f19491134d92028b3..8450990dfc2409e9301cd7079452d8f08f44465b 100644
(file)
--- a/
api/v3/examples/ContributionSoft/Create.php
+++ b/
api/v3/examples/ContributionSoft/Create.php
@@
-23,7
+23,8
@@
function contribution_soft_create_example() {
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
- 'error' => $errorMessage,
+ 'is_error' => 1,
+ 'error_message' => $errorMessage,
'error_code' => $errorCode,
'error_data' => $errorData,
);