From 34dff096c21652db243cda862afee224fd6ca92a Mon Sep 17 00:00:00 2001 From: Bert Koorengevel Date: Thu, 26 Mar 2026 16:12:34 +0100 Subject: cache of places lacked tree id (#5343) --- app/Place.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Place.php b/app/Place.php index 0b9cd1e71d..01d11141c9 100644 --- a/app/Place.php +++ b/app/Place.php @@ -113,7 +113,7 @@ class Place */ public function id(): int { - return Registry::cache()->array()->remember('place-' . $this->place_name, function (): int { + return Registry::cache()->array()->remember('place-' . $this->place_name . '@' . $this->tree->id(), function (): int { // The "top-level" place won't exist in the database. if ($this->parts->isEmpty()) { return 0; -- cgit v1.3