diff options
author | Simon Rettberg | 2016-12-06 18:47:33 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-12-06 18:47:33 +0100 |
commit | 3af2435ae31ab8580b453de36e7700cc75deee31 (patch) | |
tree | fcc3c6a53e4d9ecb3667871557332fbd4246ba9f /modules-available/roomplanner/page.inc.php | |
parent | [statistics/locations/..] Cache calculated locationid of machine in machine t... (diff) | |
download | slx-admin-3af2435ae31ab8580b453de36e7700cc75deee31.tar.gz slx-admin-3af2435ae31ab8580b453de36e7700cc75deee31.tar.xz slx-admin-3af2435ae31ab8580b453de36e7700cc75deee31.zip |
[roomplanner] Update locationid -> fixedlocationid
Diffstat (limited to 'modules-available/roomplanner/page.inc.php')
-rw-r--r-- | modules-available/roomplanner/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/roomplanner/page.inc.php b/modules-available/roomplanner/page.inc.php index c03b69d0..de82a985 100644 --- a/modules-available/roomplanner/page.inc.php +++ b/modules-available/roomplanner/page.inc.php @@ -228,7 +228,7 @@ class Page_Roomplanner extends Page protected function getMachinesOnPlan($tutorUuid) { - $result = Database::simpleQuery('SELECT machineuuid, macaddr, clientip, hostname, position FROM machine WHERE locationid = :locationid', + $result = Database::simpleQuery('SELECT machineuuid, macaddr, clientip, hostname, position FROM machine WHERE fixedlocationid = :locationid', ['locationid' => $this->locationid]); $machines = []; while ($row = $result->fetch(PDO::FETCH_ASSOC)) { |