summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/pages/projectors.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/projectors.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/projectors.inc.php')
-rw-r--r--modules-available/statistics/pages/projectors.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/pages/projectors.inc.php b/modules-available/statistics/pages/projectors.inc.php
index 97a21ebd..91abfe9c 100644
--- a/modules-available/statistics/pages/projectors.inc.php
+++ b/modules-available/statistics/pages/projectors.inc.php
@@ -49,7 +49,7 @@ class SubPage
. " INNER JOIN statistic_hw_prop p ON (h.hwid = p.hwid AND p.prop = :projector)"
. " WHERE h.hwtype = :screen ORDER BY h.hwname ASC", array(
'projector' => 'projector',
- 'screen' => DeviceType::SCREEN,
+ 'screen' => HardwareInfo::SCREEN,
));
$data = array(
'projectors' => $res->fetchAll()