diff options
author | Simon Rettberg | 2022-05-21 12:48:36 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-05-21 12:48:36 +0200 |
commit | acae9cbdaad5c53395b7c0118a8d26f1403c159f (patch) | |
tree | 475959f540e7d7e887092fa8cb38a16b630e3c08 /modules-available/rebootcontrol | |
parent | [remoteaccess] Mark locations that have access restrictions in place (diff) | |
download | slx-admin-acae9cbdaad5c53395b7c0118a8d26f1403c159f.tar.gz slx-admin-acae9cbdaad5c53395b7c0118a8d26f1403c159f.tar.xz slx-admin-acae9cbdaad5c53395b7c0118a8d26f1403c159f.zip |
Fix
Diffstat (limited to 'modules-available/rebootcontrol')
-rw-r--r-- | modules-available/rebootcontrol/inc/scheduler.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/rebootcontrol/inc/scheduler.inc.php b/modules-available/rebootcontrol/inc/scheduler.inc.php index de6251d2..937cc000 100644 --- a/modules-available/rebootcontrol/inc/scheduler.inc.php +++ b/modules-available/rebootcontrol/inc/scheduler.inc.php @@ -209,7 +209,7 @@ class Scheduler $optionList = Database::queryKeyValueList("SELECT locationid, `options` FROM `reboot_scheduler`"); } if (isset($optionList[$id])) { - return (json_decode($optionList[$id]['options'], true) ?? []) + self::SCHEDULE_OPTIONS_DEFAULT; + return (json_decode($optionList[$id], true) ?? []) + self::SCHEDULE_OPTIONS_DEFAULT; } return self::SCHEDULE_OPTIONS_DEFAULT; } |