projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #2514 from colemanw/ac2
[civicrm-core.git]
/
api
/
v3
/
Domain.php
diff --git
a/api/v3/Domain.php
b/api/v3/Domain.php
index 31314b26027868462f407b036f75ba44202f0443..0cb52b074dfc745354a6d29a1635c2e6ca773bc2 100644
(file)
--- a/
api/v3/Domain.php
+++ b/
api/v3/Domain.php
@@
-48,7
+48,7
@@
function civicrm_api3_domain_get($params) {
unset($params['version']);
$bao = new CRM_Core_BAO_Domain();
- if (
CRM_Utils_Array::value('current_domain', $params
)) {
+ if (
!empty($params['current_domain']
)) {
$domainBAO = CRM_Core_Config::domainID();
$params['id'] = $domainBAO;
}