From 79b61cd0fcb5a19e9c19c0b99e419a7d2990d3e4 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 408dabb1b6..96b386da20 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -2295,7 +2295,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