[#61] fix bug on settings page

The array passed to $this->addEntityRef() was incorrectly structured
This commit is contained in:
Marc Michalsky 2023-02-14 09:27:04 +01:00
parent c88be90532
commit c62af9582e
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -93,8 +93,12 @@ class CRM_Twingle_Form_Settings extends CRM_Core_Form {
'twingle_protect_recurring_activity_assignee', 'twingle_protect_recurring_activity_assignee',
E::ts('Assigned To'), E::ts('Assigned To'),
[ [
'api' => [
'params' => [
'contact_type' => ['IN' => ['Individual', 'Organization']], 'contact_type' => ['IN' => ['Individual', 'Organization']],
'check_permissions' => 0, 'check_permissions' => 0,
],
],
] ]
); );