Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #10807
James Colebb1b4ca5cac3
diff --git a/app/Support/JsonApi/Enrichments/AccountEnrichment.php b/app/Support/JsonApi/Enrichments/AccountEnrichment.phpindex a5d6643908..80cfe8fc97 100644--- a/app/Support/JsonApi/Enrichments/AccountEnrichment.php+++ b/app/Support/JsonApi/Enrichments/AccountEnrichment.php@@ -256,7 +256,7 @@ class AccountEnrichment implements EnrichmentInterface// add object group if availableif (array_key_exists($id, $this->mappedObjects)) {$key = $this->mappedObjects[$id];- $meta['object_group_id'] = $this->objectGroups[$key]['id'];+ $meta['object_group_id'] = (string) $this->objectGroups[$key]['id'];$meta['object_group_title'] = $this->objectGroups[$key]['title'];$meta['object_group_order'] = $this->objectGroups[$key]['order'];}diff --git a/app/Support/JsonApi/Enrichments/BudgetEnrichment.php b/app/Support/JsonApi/Enrichments/BudgetEnrichment.phpindex 5605d7f94a..a0d6a7893e 100644--- a/app/Support/JsonApi/Enrichments/BudgetEnrichment.php+++ b/app/Support/JsonApi/Enrichments/BudgetEnrichment.php@@ -117,7 +117,7 @@ class BudgetEnrichment implements EnrichmentInterface// add object group if availableif (array_key_exists($id, $this->mappedObjects)) {$key = $this->mappedObjects[$id];- $meta['object_group_id'] = $this->objectGroups[$key]['id'];+ $meta['object_group_id'] = (string) $this->objectGroups[$key]['id'];$meta['object_group_title'] = $this->objectGroups[$key]['title'];$meta['object_group_order'] = $this->objectGroups[$key]['order'];}diff --git a/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.php b/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.phpindex 88307e028d..18e195a6f3 100644--- a/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.php+++ b/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.php@@ -101,7 +101,7 @@ class SubscriptionEnrichment implements EnrichmentInterface// add object group if availableif (array_key_exists($id, $this->mappedObjects)) {$key = $this->mappedObjects[$id];- $meta['object_group_id'] = $objectGroups[$key]['id'];+ $meta['object_group_id'] = (string) $objectGroups[$key]['id'];$meta['object_group_title'] = $objectGroups[$key]['title'];$meta['object_group_order'] = $objectGroups[$key]['order'];}