summaryrefslogtreecommitdiffstats
path: root/modules-available/passthrough/page.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/passthrough/page.inc.php')
-rw-r--r--modules-available/passthrough/page.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules-available/passthrough/page.inc.php b/modules-available/passthrough/page.inc.php
index 0911550c..3ab0696e 100644
--- a/modules-available/passthrough/page.inc.php
+++ b/modules-available/passthrough/page.inc.php
@@ -66,10 +66,10 @@ class Page_Passthrough extends Page
private function showHardwareList()
{
$q = new HardwareQuery(HardwareInfo::PCI_DEVICE, null, false);
- $q->addColumn(true, 'vendor');
- $q->addColumn(true, 'device');
- $q->addColumn(true, 'class');
- $q->addColumn(true, '@PASSTHROUGH');
+ $q->addGlobalColumn('vendor');
+ $q->addGlobalColumn('device');
+ $q->addGlobalColumn('class');
+ $q->addGlobalColumn('@PASSTHROUGH');
$rows = [];
foreach ($q->query('shw.hwid') as $row) {
$row['ptlist'] = Passthrough::getGroupDropdown($row);