projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRM-19958 Fix invalid name of variable subtype
[civicrm-core.git]
/
api
/
v3
/
examples
/
Job
/
Delete.php
diff --git
a/api/v3/examples/Job/Delete.php
b/api/v3/examples/Job/Delete.php
index c7aefcbdff3c2f9bdb1b5911739721862249d89d..fe854b3d274c35c704303403f3ba821ae0f18947 100644
(file)
--- a/
api/v3/examples/Job/Delete.php
+++ b/
api/v3/examples/Job/Delete.php
@@
-19,7
+19,8
@@
function job_delete_example() {
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
- 'error' => $errorMessage,
+ 'is_error' => 1,
+ 'error_message' => $errorMessage,
'error_code' => $errorCode,
'error_data' => $errorData,
);