From c3b1b633ad6f01c4ed624da3eb7a5e5bf30d9d04 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(-) diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 0885f446..c1c340de 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