From 3d99f76dfb3e0ed770f0da157072aa6173e67510 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 8 Sep 2020 13:42:08 +0200 Subject: [locationinfo] Fix overriding "show hostnames" not being saved --- modules-available/locationinfo/page.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules-available') 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; } -- cgit v1.2.3-55-g7522