🐛 bug fix: do not create empty option values
This commit is contained in:
parent
de19c3991c
commit
c45f275fc3
2 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,6 @@ use CRM_TwingleCampaign_ExtensionUtil as E;
|
|||
* @return array
|
||||
*/
|
||||
function getCaseTypes(): array {
|
||||
$caseTypes = [NULL => E::ts('none')];
|
||||
try {
|
||||
$result = civicrm_api3('CaseType', 'get', [
|
||||
'sequential' => 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue