First attempt to fix #7589

This commit is contained in:
James Cole
2023-06-03 21:17:49 +02:00
parent 2e7a17560d
commit 463ebd296f
7 changed files with 249 additions and 121 deletions

View File

@@ -37,6 +37,10 @@ trait GetRecurrenceData
{
$return = [];
if (array_key_exists('id', $transaction)) {
$return['id'] = (string)$transaction['id'];
}
// amount + currency
if (array_key_exists('amount', $transaction)) {
$return['amount'] = $transaction['amount'];