From 16d23a4625c68446f84e620d84ff25632d3cff91 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Mon, 15 Dec 2014 23:40:06 +0530 Subject: [PATCH] cleanup at api/utils --- api/v3/utils.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/v3/utils.php b/api/v3/utils.php index f52d1a76ec..d06d622e1f 100644 --- 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 -- 2.25.1