summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Place.php2
1 files changed, 1 insertions, 1 deletions
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;