From e9e49278f8afc1387cb34657c6d941c358d914c2 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Mon, 24 Aug 2015 12:22:23 +0530 Subject: [PATCH] additional changes --- api/v3/utils.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/v3/utils.php b/api/v3/utils.php index 10a0014d61..c31069eb5c 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -1901,7 +1901,9 @@ function _civicrm_api3_swap_out_aliases(&$apiRequest, $fields) { ) { $apiRequest['params'][$field] = $apiRequest['params'][$values['name']]; // note that it would make sense to unset the original field here but tests need to be in place first - unset($apiRequest['params'][$values['name']]); + if ($field != 'domain_version') { + unset($apiRequest['params'][$values['name']]); + } } if (!isset($apiRequest['params'][$field]) && $uniqueName -- 2.25.1