projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update test examples.
[civicrm-core.git]
/
api
/
v3
/
examples
/
Contact
/
FormatIsSuccess_True.php
diff --git
a/api/v3/examples/Contact/FormatIsSuccess_True.php
b/api/v3/examples/Contact/FormatIsSuccess_True.php
index 09a9febca027252f1a5dd35ae87298bdaf632c00..9f46af903faf70d2429e118210937560d612844b 100644
(file)
--- a/
api/v3/examples/Contact/FormatIsSuccess_True.php
+++ b/
api/v3/examples/Contact/FormatIsSuccess_True.php
@@
-23,7
+23,8
@@
function contact_get_example() {
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
- 'error' => $errorMessage,
+ 'is_error' => 1,
+ 'error_message' => $errorMessage,
'error_code' => $errorCode,
'error_data' => $errorData,
);