summaryrefslogtreecommitdiff
path: root/src/gemini/Controller/Village.php
diff options
context:
space:
mode:
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,