Merge branch 'release/v6.1.6'

This commit is contained in:
James Cole
2024-01-06 11:13:41 +01:00
3 changed files with 8 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ trait CurrencyValidation
continue;
}
$compare = bccomp('0', $transaction['foreign_amount']);
$compare = bccomp('0', $foreignAmount);
if (-1 === $compare) {
Log::debug('validateForeignCurrencyInformation: array contains foreign amount info.');
if (!array_key_exists('foreign_currency_id', $transaction) && !array_key_exists('foreign_currency_code', $transaction)) {

View File

@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## 6.1.6 - 2024-01-07
### Fixed
- Type validation error
## 6.1.5 - 2024-01-07
### Added

View File

@@ -115,7 +115,7 @@ return [
'handle_debts' => true,
// see cer.php for exchange rates feature flag.
],
'version' => '6.1.5',
'version' => '6.1.6',
'api_version' => '2.0.12',
'db_version' => 22,