diff options
author | Steffen Ritter | 2022-05-13 12:49:39 +0200 |
---|---|---|
committer | Steffen Ritter | 2022-05-13 12:49:39 +0200 |
commit | c88d6474c78d979c02a85722e5c1a9c00fd08bbe (patch) | |
tree | 02537904c173752e38ce9ded872d363171746735 /modules-available/statistics/pages | |
parent | [roomplan] Fix undefined index notices (diff) | |
download | slx-admin-c88d6474c78d979c02a85722e5c1a9c00fd08bbe.tar.gz slx-admin-c88d6474c78d979c02a85722e5c1a9c00fd08bbe.tar.xz slx-admin-c88d6474c78d979c02a85722e5c1a9c00fd08bbe.zip |
[statistics] Fix undefined index notices
Diffstat (limited to 'modules-available/statistics/pages')
-rw-r--r-- | modules-available/statistics/pages/machine.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/pages/machine.inc.php b/modules-available/statistics/pages/machine.inc.php index 9e51d9f9..93f6d12a 100644 --- a/modules-available/statistics/pages/machine.inc.php +++ b/modules-available/statistics/pages/machine.inc.php @@ -126,7 +126,7 @@ class SubPage $pciLookup[$devId] = true; } // Passthrough enabled? - if (isset($passthroughTypes[$devId . ':' . $item['rev']])) { + if (isset($passthroughTypes[$devId . ':' . ($item['rev'] ?? '')])) { $item['pt'] = implode(', ', $passthroughTypes[$devId . ':' . $item['rev']]); } $class = $item['class']; |