X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FCustomSearch.php;h=0623e51a947027589ef4d81c8a9ab1d1d11eb4e0;hb=5fb7a5ef138c25f95a175c08fbba564689c473c2;hp=337eace060933d7a9da03b34d00929f8cb527f95;hpb=5fe22fa0c0431178becb18967f4c17bfcff694bb;p=civicrm-core.git diff --git a/api/v3/CustomSearch.php b/api/v3/CustomSearch.php index 337eace060..0623e51a94 100644 --- a/api/v3/CustomSearch.php +++ b/api/v3/CustomSearch.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2017 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -81,7 +81,7 @@ function _civicrm_api3_custom_search_create_spec(&$params) { $params['option_group_id']['api.default'] = CRM_Core_DAO::getFieldValue( 'CRM_Core_DAO_OptionGroup', 'custom_search', 'id', 'name' ); - $params['name']['api.aliases'] = array('class_name'); + $params['name']['api.aliases'] = ['class_name']; } /**