projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5d67b2
)
additional changes
author
monishdeb
<monish.deb@webaccessglobal.com>
Mon, 24 Aug 2015 06:52:23 +0000
(12:22 +0530)
committer
monishdeb
<monish.deb@webaccessglobal.com>
Wed, 9 Sep 2015 14:50:31 +0000
(20:20 +0530)
api/v3/utils.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/utils.php
b/api/v3/utils.php
index 408dabb1b6f0b8081001c4c1308c4c02e8d09803..96b386da209965b18d7b2e3f7028022310cc6424 100644
(file)
--- 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