From 4004deabee15d828f1eed46941e461dacb5d7915 Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Tue, 29 Oct 2019 22:06:04 +0100 Subject: [locationinfo] fix wrong value shown on config-site for old panels --- modules-available/locationinfo/page.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 37d68fc0..339c9f33 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -371,7 +371,7 @@ class Page_LocationInfo extends Page 'vertical' => Request::post('vertical', false, 'bool'), 'eco' => Request::post('eco', false, 'bool'), 'prettytime' => Request::post('prettytime', false, 'bool'), - 'roomplanner' => Request::post('roomplanner', false, 'bool'), + 'roomplanner' => Request::post('roomplanner', true, 'bool'), 'startday' => Request::post('startday', 0, 'int'), 'scaledaysauto' => Request::post('scaledaysauto', false, 'bool'), 'daystoshow' => Request::post('daystoshow', 7, 'int'), @@ -964,7 +964,7 @@ class Page_LocationInfo extends Page $config = json_decode($panel['panelconfig'], true); if (!isset($config['roomplanner'])) { - $config['roomplanner'] = false; + $config['roomplanner'] = true; } } -- cgit v1.2.3-55-g7522