Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove incorrect retrievals of tax-term setting #17183

Merged
merged 1 commit into from
May 8, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Remove calls to get the tax_term setting the wrong way

Before

$invoiceSettings = Civi::settings()->get('contribution_invoice_settings');
      $taxTerm = $invoiceSettings['tax_term'] ?? NULL;

After

 $taxTerm = Civi::settings()->get('tax-term');

Technical Details

Originally (for reasons likely to do with insufficient reviewer interaction) some settings like tax_term were put inside another setting 'contribution_invoice_settings'. We have more recently made these conform to our spec - but still need to convert the settings

Comments

@civibot
Copy link

civibot bot commented Apr 28, 2020

(Standard links)

@civibot civibot bot added the master label Apr 28, 2020
@seamuslee001
Copy link
Contributor

This looks fine to me merging

@seamuslee001 seamuslee001 merged commit 58edf5e into civicrm:master May 8, 2020
@seamuslee001 seamuslee001 deleted the tax_t branch May 8, 2020 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants