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