diff options
author | Simon Rettberg | 2021-12-09 11:10:28 +0100 |
---|---|---|
committer | Simon Rettberg | 2021-12-09 11:10:28 +0100 |
commit | 9a62d87375b9708f0b5f153222e03cc18361c403 (patch) | |
tree | d44e20d51a77e9b62d90d801f264057d18ec1043 | |
parent | [passthrough] Add location assignment page (diff) | |
download | slx-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.php | 2 |
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; } |