fixed syntax error

This commit is contained in:
CiviWare Solutions 2018-08-13 05:18:03 +05:30
parent 1b9e9bd37e
commit 8bfc1afd21
2 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,6 @@ function _entitytemplates_civix_civicrm_alterSettingsFolders(&$metaDataFolders =
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_entityTypes
*/
function _entitytemplates_civix_civicrm_entityTypes(&$entityTypes) {
$entityTypes = array_merge($entityTypes, []);
}

View File

@ -171,6 +171,7 @@ function entitytemplates_civicrm_alterSettingsFolders(&$metaDataFolders = NULL)
*/
function entitytemplates_civicrm_entityTypes(&$entityTypes) {
_entitytemplates_civix_civicrm_entityTypes($entityTypes);
$entityTypes = [
'name' => 'EntityTemplates',
'class' => 'CRM_Core_DAO_EntityTemplates',
'table' => 'civicrm_entity_templates',