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
/
Profile
/
Apply.php
diff --git
a/api/v3/examples/Profile/Apply.php
b/api/v3/examples/Profile/Apply.php
index 60c8da1e7e5c8d34d88a6401c3c631e8a21e359c..57b867c4d3334dd4f238178107e1de1512d08c1d 100644
(file)
--- a/
api/v3/examples/Profile/Apply.php
+++ b/
api/v3/examples/Profile/Apply.php
@@
-26,7
+26,8
@@
function profile_apply_example() {
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
- 'error' => $errorMessage,
+ 'is_error' => 1,
+ 'error_message' => $errorMessage,
'error_code' => $errorCode,
'error_data' => $errorData,
);