diff options
author | Simon Rettberg | 2024-01-11 14:27:40 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-01-11 14:27:40 +0100 |
commit | 6c8fc39f05ba784a4a6adb1a8f4cd1434f871405 (patch) | |
tree | 921c7280bed3706ba5a9342ad23e4ca81e7e780a | |
parent | Update translations (diff) | |
download | slx-admin-6c8fc39f05ba784a4a6adb1a8f4cd1434f871405.tar.gz slx-admin-6c8fc39f05ba784a4a6adb1a8f4cd1434f871405.tar.xz slx-admin-6c8fc39f05ba784a4a6adb1a8f4cd1434f871405.zip |
[rebootcontrol] Check for null-location
-rw-r--r-- | modules-available/rebootcontrol/pages/task.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/rebootcontrol/pages/task.inc.php b/modules-available/rebootcontrol/pages/task.inc.php index 7e1f6fbf..7db2a90b 100644 --- a/modules-available/rebootcontrol/pages/task.inc.php +++ b/modules-available/rebootcontrol/pages/task.inc.php @@ -129,7 +129,7 @@ class SubPage private static function expandLocationIds(&$lids) { foreach ($lids as &$locid) { - if ($locid === 0) { + if ($locid === null || $locid === 0) { $name = '-'; } else { $name = Location::getName($locid); |