+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017 |
+ | Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
*/
function civicrm_api3_custom_group_setvalue($params) {
require_once 'api/v3/Generic/Setvalue.php';
- $result = civicrm_api3_generic_setValue(array("entity" => 'CustomGroup', 'params' => $params));
+ $result = civicrm_api3_generic_setValue(["entity" => 'CustomGroup', 'params' => $params]);
if (empty($result['is_error'])) {
CRM_Utils_System::flushCache();
}