diff --git a/app/public/manage_user.php b/app/public/manage_user.php
index 81a34a5..ee9976f 100644
--- a/app/public/manage_user.php
+++ b/app/public/manage_user.php
@@ -22,6 +22,7 @@
| Name |
Benutzergruppe |
+ Gebunden an Station |
diff --git a/app/scripts/database_queries.php b/app/scripts/database_queries.php
index f7cfdf9..b384558 100644
--- a/app/scripts/database_queries.php
+++ b/app/scripts/database_queries.php
@@ -191,7 +191,7 @@ function write_team($con, $team_name, $fire_department) {
function get_users($con) {
try {
- $stmt = $con->prepare("SELECT user_name, user_group FROM users");
+ $stmt = $con->prepare("SELECT user_name, user_group, s_id FROM users");
$stmt->execute();
$stmt->setFetchMode(PDO::FETCH_ASSOC);
return $stmt;
diff --git a/app/scripts/functions.php b/app/scripts/functions.php
index 2c0da52..dccd485 100644
--- a/app/scripts/functions.php
+++ b/app/scripts/functions.php
@@ -146,6 +146,7 @@ function load_users($con) {
echo "\n";
echo "| " . $row['user_name'] . " | \n";
echo "" . $row['user_group'] . " | \n";
+ echo "" . $row['s_id'] . " | \n";
echo "
\n";
}
}
\ No newline at end of file