Compare commits

...

4 Commits

Author SHA1 Message Date
James Cole
2c3f032a2b Merge branch 'release/v6.1.6' 2024-01-06 11:13:41 +01:00
James Cole
de57ab0874 Update meta files for new release. 2024-01-06 11:11:18 +01:00
James Cole
6fb4aaecd3 Fix a very dumb bug. 2024-01-06 11:09:40 +01:00
James Cole
45fdbf5a11 Merge tag 'v6.1.5' into develop
v6.1.5
2024-01-06 10:59:05 +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,