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:
773ee99
)
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>
Sat, 5 Sep 2015 08:26:29 +0000
(13:56 +0530)
api/v3/utils.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/utils.php
b/api/v3/utils.php
index 10a0014d6134f33ae426c738147dfc67c5dc097f..c31069eb5c064bf9ea7c3a7ec76d2678a5032ddc 100644
(file)
--- 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