additional changes
authormonishdeb <monish.deb@webaccessglobal.com>
Mon, 24 Aug 2015 06:52:23 +0000 (12:22 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Wed, 9 Sep 2015 14:50:31 +0000 (20:20 +0530)
api/v3/utils.php

index 408dabb1b6f0b8081001c4c1308c4c02e8d09803..96b386da209965b18d7b2e3f7028022310cc6424 100644 (file)
@@ -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