projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e225c7a
)
CRM-13234 make profile.submit transactional
author
eileen
<eileen@fuzion.co.nz>
Fri, 30 Aug 2013 02:20:33 +0000
(14:20 +1200)
committer
eileen
<eileen@fuzion.co.nz>
Tue, 3 Sep 2013 23:00:06 +0000
(11:00 +1200)
api/api.php
patch
|
blob
|
blame
|
history
diff --git
a/api/api.php
b/api/api.php
index e2a366c06b7f4102632b6fd595a131179d85ca85..bd6cec73483f2cb45a145103ca59854f25e54dbe 100644
(file)
--- a/
api/api.php
+++ b/
api/api.php
@@
-44,7
+44,7
@@
function civicrm_api($entity, $action, $params, $extra = NULL) {
$errorScope = CRM_Core_TemporaryErrorScope::useException();
// look up function, file, is_generic
$apiRequest += _civicrm_api_resolve($apiRequest);
- if (strtolower($action) == 'create' || strtolower($action) == 'delete') {
+ if (strtolower($action) == 'create' || strtolower($action) == 'delete'
|| strtolower($action) == 'submit'
) {
$apiRequest['is_transactional'] = 1;
$transaction = new CRM_Core_Transaction();
}