From: eileen Date: Fri, 30 Aug 2013 02:20:33 +0000 (+1200) Subject: CRM-13234 make profile.submit transactional X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=db1791f708fa1056b40e4bcd7cf56aa5b4c7fc97;p=civicrm-core.git CRM-13234 make profile.submit transactional --- diff --git a/api/api.php b/api/api.php index e2a366c06b..bd6cec7348 100644 --- 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(); }