diff options
author | Christian Hofmaier | 2019-10-29 22:06:04 +0100 |
---|---|---|
committer | Christian Hofmaier | 2019-10-29 22:06:04 +0100 |
commit | 4004deabee15d828f1eed46941e461dacb5d7915 (patch) | |
tree | 73bdf542e6c9c9b6954c664163a06207314bbaee /modules-available | |
parent | [locationinfo] generalize mode change function (diff) | |
download | slx-admin-4004deabee15d828f1eed46941e461dacb5d7915.tar.gz slx-admin-4004deabee15d828f1eed46941e461dacb5d7915.tar.xz slx-admin-4004deabee15d828f1eed46941e461dacb5d7915.zip |
[locationinfo] fix wrong value shown on config-site for old panels
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 4 |
1 files 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; } } |