summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2021-12-09 11:10:28 +0100
committerSimon Rettberg2021-12-09 11:10:28 +0100
commit9a62d87375b9708f0b5f153222e03cc18361c403 (patch)
treed44e20d51a77e9b62d90d801f264057d18ec1043
parent[passthrough] Add location assignment page (diff)
downloadslx-admin-9a62d87375b9708f0b5f153222e03cc18361c403.tar.gz
slx-admin-9a62d87375b9708f0b5f153222e03cc18361c403.tar.xz
slx-admin-9a62d87375b9708f0b5f153222e03cc18361c403.zip
[passthrough] Fix saving groupid
-rw-r--r--modules-available/passthrough/page.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/passthrough/page.inc.php b/modules-available/passthrough/page.inc.php
index b0c830ef..b36b45ac 100644
--- a/modules-available/passthrough/page.inc.php
+++ b/modules-available/passthrough/page.inc.php
@@ -59,7 +59,7 @@ class Page_Passthrough extends Page
$list = [];
$groups = [];
foreach (Request::post('enabled', [], 'array') as $groupId) {
- $groupId = (int)$groupId;
+ $groupId = (string)$groupId;
$list[] = [$groupId, $locationId];
$groups[] = $groupId;
}