summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/pages/machine.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2022-01-17 16:37:59 +0100
committerSimon Rettberg2022-01-17 16:37:59 +0100
commit21c643d68b883bb946351235b8152f43843e4ad6 (patch)
tree2d50e48b2e2c689f5f96ade9797cb87ebdc4fa7a /modules-available/statistics/pages/machine.inc.php
parent[statistics] Add comments (diff)
downloadslx-admin-21c643d68b883bb946351235b8152f43843e4ad6.tar.gz
slx-admin-21c643d68b883bb946351235b8152f43843e4ad6.tar.xz
slx-admin-21c643d68b883bb946351235b8152f43843e4ad6.zip
[statistics] Fix join ordering; renames and comments
Diffstat (limited to 'modules-available/statistics/pages/machine.inc.php')
-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 019b0d8d..6ea0ce28 100644
--- a/modules-available/statistics/pages/machine.inc.php
+++ b/modules-available/statistics/pages/machine.inc.php
@@ -229,7 +229,7 @@ class SubPage
. " LEFT JOIN machine_x_hw_prop p ON (m.machinehwid = p.machinehwid AND p.prop = 'resolution')"
. " LEFT JOIN statistic_hw_prop q ON (m.hwid = q.hwid AND q.prop = 'projector')"
. " WHERE m.machineuuid = :uuid",
- array('screen' => DeviceType::SCREEN, 'uuid' => $uuid));
+ array('screen' => HardwareInfo::SCREEN, 'uuid' => $uuid));
$client['screens'] = array();
$ports = array();
foreach ($res as $row) {