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 #7336 from eileenmcnaughton/CRM-17636
[civicrm-core.git]
/
api
/
v3
/
CustomValue.php
diff --git
a/api/v3/CustomValue.php
b/api/v3/CustomValue.php
index d3b67a3533efe4039f861dfd44d03f7c8b98a133..6c7565234f820db7a5b9a0a5ebad90d2218b217a 100644
(file)
--- a/
api/v3/CustomValue.php
+++ b/
api/v3/CustomValue.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
6
|
+ | CiviCRM version 4.
7
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
4
|
+ | Copyright CiviCRM LLC (c) 2004-201
5
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-210,7
+210,7
@@
function civicrm_api3_custom_value_get($params) {
}
$values[$id]['entity_id'] = $getParams['entityID'];
if (!empty($getParams['entityType'])) {
}
$values[$id]['entity_id'] = $getParams['entityID'];
if (!empty($getParams['entityType'])) {
- $values[$
n
]['entity_table'] = $getParams['entityType'];
+ $values[$
id
]['entity_table'] = $getParams['entityType'];
}
//set 'latest' -useful for multi fields but set for single for consistency
$values[$id]['latest'] = $value;
}
//set 'latest' -useful for multi fields but set for single for consistency
$values[$id]['latest'] = $value;