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 generated examples
[civicrm-core.git]
/
api
/
v3
/
examples
/
Setting
/
Revert.php
diff --git
a/api/v3/examples/Setting/Revert.php
b/api/v3/examples/Setting/Revert.php
index 9eb77d993e15245e6b153ea54302e0d08eedfe76..40631b92af01345de5646a3b8ac27cea27ca7404 100644
(file)
--- a/
api/v3/examples/Setting/Revert.php
+++ b/
api/v3/examples/Setting/Revert.php
@@
-21,7
+21,8
@@
function setting_revert_example() {
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
- 'error' => $errorMessage,
+ 'is_error' => 1,
+ 'error_message' => $errorMessage,
'error_code' => $errorCode,
'error_data' => $errorData,
);