X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FInvoicing%2FUtils.php;h=24fe4078e755e02d67cbfc1a370ec8a1ae6bf96d;hb=b3ab3cfc80c025006ff9a76e782a3c466ecad4d4;hp=dbcc4befacd850f6a2731d5949d8baf853b09cf2;hpb=5fe690b695365ca3836ec62bad2e7ee177c78854;p=civicrm-core.git diff --git a/CRM/Invoicing/Utils.php b/CRM/Invoicing/Utils.php index dbcc4befac..24fe4078e7 100644 --- a/CRM/Invoicing/Utils.php +++ b/CRM/Invoicing/Utils.php @@ -69,8 +69,7 @@ class CRM_Invoicing_Utils { * is unsupported. Here we have a wrapper function to make later cleanup easier. */ public static function getTaxTerm() { - $invoiceSettings = Civi::settings()->get('contribution_invoice_settings'); - return $invoiceSettings['tax_term'] ?? NULL; + return Civi::settings()->get('tax_term'); } }