summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/pages/machine.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2022-01-12 17:07:42 +0100
committerSimon Rettberg2022-03-09 15:06:54 +0100
commit1bdf3d4ce66910f07842c7be1043938bccf0a462 (patch)
treed6a4e1f0185687c224e4a3a901186fe3b0cbd3d9 /modules-available/statistics/pages/machine.inc.php
parentapi: Don't use mb_strtolower (diff)
downloadslx-admin-1bdf3d4ce66910f07842c7be1043938bccf0a462.tar.gz
slx-admin-1bdf3d4ce66910f07842c7be1043938bccf0a462.tar.xz
slx-admin-1bdf3d4ce66910f07842c7be1043938bccf0a462.zip
[statistics] Make query builder a bit more OOP
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) {