From: monishdeb Date: Mon, 24 Aug 2015 06:52:23 +0000 (+0530) Subject: additional changes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=79b61cd0fcb5a19e9c19c0b99e419a7d2990d3e4;p=civicrm-core.git additional changes --- 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