Merge pull request #13906 from agh1/whygroupcontribamt
[civicrm-core.git] / api / v3 / CustomSearch.php
index 337eace060933d7a9da03b34d00929f8cb527f95..0623e51a947027589ef4d81c8a9ab1d1d11eb4e0 100644 (file)
@@ -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'];
 }
 
 /**