diff options
author | Simon Rettberg | 2018-02-14 13:18:47 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-02-14 13:18:47 +0100 |
commit | 8aebf6191f0942b6e0fbdc5b07f8069a68d3ee70 (patch) | |
tree | ae82d4302cc639335908e7c73be23ec337eb6d35 /modules-available/locations/inc | |
parent | [dozmod] Move subpages to pages/, hide pages where user has no permission (diff) | |
download | slx-admin-8aebf6191f0942b6e0fbdc5b07f8069a68d3ee70.tar.gz slx-admin-8aebf6191f0942b6e0fbdc5b07f8069a68d3ee70.tar.xz slx-admin-8aebf6191f0942b6e0fbdc5b07f8069a68d3ee70.zip |
[locations] One permission for direct subnet editing; restructure handling a bit
Diffstat (limited to 'modules-available/locations/inc')
-rw-r--r-- | modules-available/locations/inc/location.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locations/inc/location.inc.php b/modules-available/locations/inc/location.inc.php index 0576e660..d43c36a7 100644 --- a/modules-available/locations/inc/location.inc.php +++ b/modules-available/locations/inc/location.inc.php @@ -251,7 +251,7 @@ class Location { $ids = array(); foreach ($tree as $node) { - $ids[] = $node['locationid']; + $ids[] = (int)$node['locationid']; if (!empty($node['children'])) { $ids = array_merge($ids, self::extractIds($node['children'])); } |