X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Ftemplates%2FdocumentFunction.tpl;h=5a40ea76e7e3f74f5e70a10b6eb60441f65f3e04;hb=91bcade44f15e57b451068402f777e8a61c38869;hp=43293eeda32672b03f64a421c05c0e8b741834c1;hpb=5d867d83ac582e4c45417c82610d569100d6da43;p=civicrm-core.git diff --git a/tests/templates/documentFunction.tpl b/tests/templates/documentFunction.tpl index 43293eeda3..5a40ea76e7 100644 --- 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, );