From d87aa4969c1ff33cdba68e2da2b1656ed711aac3 Mon Sep 17 00:00:00 2001 From: Jens Schuppe Date: Fri, 22 Sep 2023 11:39:15 +0200 Subject: [PATCH] Allow `civicrm_campaign` as `entity_table` for `FinancialItem` API entity --- CRM/Financial/BAO/FinancialItem.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Financial/BAO/FinancialItem.php b/CRM/Financial/BAO/FinancialItem.php index 4350de8e73..ef7fd5b35f 100644 --- a/CRM/Financial/BAO/FinancialItem.php +++ b/CRM/Financial/BAO/FinancialItem.php @@ -281,6 +281,7 @@ WHERE cc.id IN (' . implode(',', $contactIds) . ') AND con.is_test = 0'; return [ 'civicrm_line_item' => ts('Line Item'), 'civicrm_financial_trxn' => ts('Financial Trxn'), + 'civicrm_campaign' => ts('Campaign'), ]; } -- 2.25.1