Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.10
-
Fix Version/s: 4.7
-
Component/s: None
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
If no tax rates are set this query happens for every contribution that is imported (including via api) as the caching does not work
/**
- Get all tax rates.
* - The static array tax rates is returned
* - @return array
- array list of tax rates with the financial type
*/
public static function getTaxRates() {
if (!self::$taxRates)Unknown macro: { self}
return self::$taxRates;
}