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
/
MessageTemplate
/
Create.php
diff --git
a/api/v3/examples/MessageTemplate/Create.php
b/api/v3/examples/MessageTemplate/Create.php
index af72d924c6d88d30a1172a958f96d3d117e17109..094118233901e9664e5cc2f2249446a30327f012 100644
(file)
--- a/
api/v3/examples/MessageTemplate/Create.php
+++ b/
api/v3/examples/MessageTemplate/Create.php
@@
-25,7
+25,8
@@
function message_template_create_example() {
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
- 'error' => $errorMessage,
+ 'is_error' => 1,
+ 'error_message' => $errorMessage,
'error_code' => $errorCode,
'error_data' => $errorData,
);
'error_code' => $errorCode,
'error_data' => $errorData,
);