Skip to content

Firefly III: a personal finances manager

Fix #12968

Sander Dorigo2ed090958896
diff --git a/app/Support/Http/Controllers/RenderPartialViews.php b/app/Support/Http/Controllers/RenderPartialViews.php
index 3490d6db8e..73276c5d78 100644
--- a/app/Support/Http/Controllers/RenderPartialViews.php
+++ b/app/Support/Http/Controllers/RenderPartialViews.php
@@ -223,7 +223,7 @@ trait RenderPartialViews
)
&& $otherAccount->id !== $account->id
) {
- $set[] = $account;
+ $set[(int)$account->id] = $account;
}
}
}