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 #9670 from johanv/CRM-19869-pdf_table_header_issue
[civicrm-core.git]
/
api
/
v3
/
examples
/
ParticipantPayment
/
Get.php
diff --git
a/api/v3/examples/ParticipantPayment/Get.php
b/api/v3/examples/ParticipantPayment/Get.php
index c119289a666da66820ecbf38aebfad2d0dc47981..eaf18755b83e3af0c7efe31188ec55c339db379e 100644
(file)
--- a/
api/v3/examples/ParticipantPayment/Get.php
+++ b/
api/v3/examples/ParticipantPayment/Get.php
@@
-20,7
+20,8
@@
function participant_payment_get_example() {
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
- 'error' => $errorMessage,
+ 'is_error' => 1,
+ 'error_message' => $errorMessage,
'error_code' => $errorCode,
'error_data' => $errorData,
);
'error_code' => $errorCode,
'error_data' => $errorData,
);