summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/pages
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/statistics/pages')
-rw-r--r--modules-available/statistics/pages/machine.inc.php2
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'];