From db1791f708fa1056b40e4bcd7cf56aa5b4c7fc97 Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 30 Aug 2013 14:20:33 +1200 Subject: [PATCH] CRM-13234 make profile.submit transactional --- api/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.25.1