projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #8332 from TobiasLounsbury/CRM-17888-freq-unit
[civicrm-core.git]
/
tests
/
templates
/
documentFunction.tpl
diff --git
a/tests/templates/documentFunction.tpl
b/tests/templates/documentFunction.tpl
index 43293eeda32672b03f64a421c05c0e8b741834c1..5a40ea76e7e3f74f5e70a10b6eb60441f65f3e04 100644
(file)
--- a/
tests/templates/documentFunction.tpl
+++ b/
tests/templates/documentFunction.tpl
@@
-30,7
+30,8
@@
function {$function}_example() {literal}{{/literal}
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
- 'error' => $errorMessage,
+ 'is_error' => 1,
+ 'error_message' => $errorMessage,
'error_code' => $errorCode,
'error_data' => $errorData,
);