summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol
diff options
context:
space:
mode:
authorSimon Rettberg2022-05-21 12:48:36 +0200
committerSimon Rettberg2022-05-21 12:48:36 +0200
commitacae9cbdaad5c53395b7c0118a8d26f1403c159f (patch)
tree475959f540e7d7e887092fa8cb38a16b630e3c08 /modules-available/rebootcontrol
parent[remoteaccess] Mark locations that have access restrictions in place (diff)
downloadslx-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.php2
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;
}