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:
3d6fe44
)
cleanup at api/utils
author
monishdeb
<monish.deb@webaccessglobal.com>
Mon, 15 Dec 2014 18:10:06 +0000
(23:40 +0530)
committer
monishdeb
<monish.deb@webaccessglobal.com>
Wed, 28 Jan 2015 07:46:24 +0000
(13:16 +0530)
api/v3/utils.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/utils.php
b/api/v3/utils.php
index f52d1a76ec962abc3ab16a3f6559f103ed6a10d6..d06d622e1fcccbfca02ef26c8a7287dc746b29b4 100644
(file)
--- a/
api/v3/utils.php
+++ b/
api/v3/utils.php
@@
-1399,8
+1399,6
@@
function _civicrm_api3_custom_data_get(&$returnArray, $entity, $entity_id, $grou
function _civicrm_api3_validate_fields($entity, $action, &$params, $fields, $errorMode = FALSE) {
$fields = array_intersect_key($fields, $params);
foreach ($fields as $fieldName => $fieldInfo) {
- //In some case $params[$fieldName] holds Array value in this format Array([operator] => [value])
-
switch (CRM_Utils_Array::value('type', $fieldInfo)) {
case CRM_Utils_Type::T_INT:
//field is of type integer