Issue 1205: allow custom fields of type file for entities
authorJaap Jansma <jaap.jansma@civicoop.org>
Tue, 22 Oct 2019 14:53:46 +0000 (16:53 +0200)
committerJaap Jansma <jaap.jansma@civicoop.org>
Tue, 22 Oct 2019 14:53:46 +0000 (16:53 +0200)
Civi/Core/Container.php

index 805056456188bff234a10211371f26eb5bbb0244..1d1af901bf6898401bd877984f8905050de6a327 100644 (file)
@@ -433,8 +433,7 @@ class Container {
        FROM civicrm_custom_field fld
        INNER JOIN civicrm_custom_group grp ON fld.custom_group_id = grp.id
        WHERE fld.data_type = "File"
-      ',
-      ['civicrm_activity', 'civicrm_mailing', 'civicrm_contact', 'civicrm_grant']
+      '
     ));
 
     $kernel->setApiProviders([