Skip to content
Snippets Groups Projects
Commit 4ee17c61 authored by eileen's avatar eileen Committed by totten
Browse files

#1724 Fix Changes to CiviContribute Component Settings not saved

It seems that, depending on the order in which settings are loaded, this is not always populated. Moving it here
addresses, although medium term we should address all references to it
parent ef6e09d3
Branches
Tags
No related merge requests found
......@@ -168,6 +168,7 @@ class SettingsBag {
[$this->defaults, $this->values, $this->mandatory]
);
}
$this->combined['contribution_invoice_settings'] = $this->getContributionSettings();
return $this->combined;
}
......
......@@ -258,6 +258,8 @@ class api_v3_ContributionTest extends CiviUnitTestCase {
/**
* Test the 'return' param works for all fields.
*
* @throws \CRM_Core_Exception
*/
public function testGetContributionReturnFunctionality() {
$params = $this->_params;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment