From 7e08a1f33c78ceca161f2a84dcdaba8b743a2a3b Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 21 Sep 2025 15:11:16 +0200 Subject: [PATCH] Possible fix for #10940, not sure. --- app/Support/JsonApi/Enrichments/PiggyBankEnrichment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Support/JsonApi/Enrichments/PiggyBankEnrichment.php b/app/Support/JsonApi/Enrichments/PiggyBankEnrichment.php index 9dd940801a..bacf8d12c3 100644 --- a/app/Support/JsonApi/Enrichments/PiggyBankEnrichment.php +++ b/app/Support/JsonApi/Enrichments/PiggyBankEnrichment.php @@ -130,7 +130,7 @@ class PiggyBankEnrichment implements EnrichmentInterface } $this->amounts[$id][$accountId]['current_amount'] = bcadd($this->amounts[$id][$accountId]['current_amount'], (string) $item->current_amount); if (null !== $this->amounts[$id][$accountId]['pc_current_amount'] && null !== $item->native_current_amount) { - $this->amounts[$id][$accountId]['pc_current_amount'] = bcadd($this->amounts[$id][$accountId]['pc_current_amount'], $item->native_current_amount); + $this->amounts[$id][$accountId]['pc_current_amount'] = bcadd($this->amounts[$id][$accountId]['pc_current_amount'], (string) $item->native_current_amount); } }