summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/page.inc.php
diff options
context:
space:
mode:
authorJannik Schönartz2017-03-26 17:48:48 +0200
committerJannik Schönartz2017-03-26 17:48:48 +0200
commite25c6cfba4f6c6ac81f64bd829e8d7f44f14be1f (patch)
tree8102761a1c30eed5a2fcd32e1a10615714fc836e /modules-available/locationinfo/page.inc.php
parentAdded a no Server option in the room config (diff)
downloadslx-admin-e25c6cfba4f6c6ac81f64bd829e8d7f44f14be1f.tar.gz
slx-admin-e25c6cfba4f6c6ac81f64bd829e8d7f44f14be1f.tar.xz
slx-admin-e25c6cfba4f6c6ac81f64bd829e8d7f44f14be1f.zip
Server-Settings: Fixed a bug where the selection in the credentials were'nt displayed
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
-rw-r--r--modules-available/locationinfo/page.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php
index 0f051f07..1c45ad65 100644
--- a/modules-available/locationinfo/page.inc.php
+++ b/modules-available/locationinfo/page.inc.php
@@ -538,9 +538,9 @@ class Page_LocationInfo extends Page
}
}
- if (is_array($value[0])) {
+ if (is_array($value)) {
$selection = array();
- foreach ($value[0] as $opt) {
+ foreach ($value as $opt) {
$option['option'] = $opt;
if ($opt == $credential['value']) {
$option['active'] = true;