summaryrefslogtreecommitdiffstats
path: root/modules-available
diff options
context:
space:
mode:
authorSimon Rettberg2020-09-08 13:42:08 +0200
committerSimon Rettberg2020-09-08 13:42:08 +0200
commit3d99f76dfb3e0ed770f0da157072aa6173e67510 (patch)
tree4afc5dc601ebf0ae0a0fd4bd0ce4a56587deecdc /modules-available
parent[remoteaccess] Add english translations (diff)
downloadslx-admin-3d99f76dfb3e0ed770f0da157072aa6173e67510.tar.gz
slx-admin-3d99f76dfb3e0ed770f0da157072aa6173e67510.tar.xz
slx-admin-3d99f76dfb3e0ed770f0da157072aa6173e67510.zip
[locationinfo] Fix overriding "show hostnames" not being saved
Diffstat (limited to 'modules-available')
-rw-r--r--modules-available/locationinfo/page.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php
index e6269857..ee50bc9c 100644
--- a/modules-available/locationinfo/page.inc.php
+++ b/modules-available/locationinfo/page.inc.php
@@ -402,7 +402,8 @@ class Page_LocationInfo extends Page
'daystoshow' => Request::post('override'.$locationids[$i].'daystoshow', 7, 'int'),
'rotation' => Request::post('override'.$locationids[$i].'rotation', 0, 'int'),
'scale' => Request::post('override'.$locationids[$i].'scale', 50, 'int'),
- 'switchtime' => Request::post('override'.$locationids[$i].'switchtime', 60, 'int')
+ 'switchtime' => Request::post('override'.$locationids[$i].'switchtime', 60, 'int'),
+ 'hostname' => Request::post('override'.$locationids[$i].'hostname', false, 'bool'),
);
$overrides[$locationids[$i]] = $overrideArray;
}