summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/api.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2017-06-21 12:30:20 +0200
committerSimon Rettberg2017-06-21 12:30:20 +0200
commitbc243e1292488424fec354b4bf655e674328024a (patch)
tree11b89c6f2cc1d23db16645f4c1523cbf2bb72557 /modules-available/locationinfo/api.inc.php
parent[locationinfo] Use styled DIVs instead of SVGs for PC icons (diff)
downloadslx-admin-bc243e1292488424fec354b4bf655e674328024a.tar.gz
slx-admin-bc243e1292488424fec354b4bf655e674328024a.tar.xz
slx-admin-bc243e1292488424fec354b4bf655e674328024a.zip
[locationinfo] Implement room-specific overrides (no config GUI yet)
Diffstat (limited to 'modules-available/locationinfo/api.inc.php')
-rw-r--r--modules-available/locationinfo/api.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/api.inc.php b/modules-available/locationinfo/api.inc.php
index 74b9fc96..8b6674e9 100644
--- a/modules-available/locationinfo/api.inc.php
+++ b/modules-available/locationinfo/api.inc.php
@@ -252,7 +252,7 @@ function getConfig($paneluuid)
'name' => isset($locations[$lid]) ? $locations[$lid]['locationname'] : 'noname00.pas',
);
if (isset($overrides[$lid]) && is_array($overrides[$lid])) {
- $config['locations'][$lid]['overrides'] = $overrides[$lid];
+ $config['locations'][$lid]['config'] = $overrides[$lid];
}
}
appendMachineData($config['locations'], $lids, true);