summaryrefslogtreecommitdiff
path: root/src/gemini/Controller/Village.php
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-08 15:10:10 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-08 15:10:10 +0100
commit82875448c485d26375ed6dea4e64e940f6e10f74 (patch)
treeff2580447429309824e7d64401ad75e7f756e45e /src/gemini/Controller/Village.php
parentb21316248572cb27ed1f504529ad6680a473022e (diff)
gemini
Diffstat (limited to 'src/gemini/Controller/Village.php')
-rw-r--r--src/gemini/Controller/Village.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gemini/Controller/Village.php b/src/gemini/Controller/Village.php
index 9b27561..85b9205 100644
--- a/src/gemini/Controller/Village.php
+++ b/src/gemini/Controller/Village.php
@@ -21,7 +21,7 @@ class Village
$villages = DB::fetch(
Model::class,
<<<SQL
- select * from villages
+ select *,villages.id from villages
join user_villages on villages.id = user_villages.village_id
where user_villages.user_id=:id
SQL,