summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-01-17 14:07:13 +0100
committerSimon Rettberg2020-01-17 14:07:13 +0100
commiteb6114789940f7269820c80c2a541b4797d9dd9b (patch)
tree557358715ecc8966e2060865a3d86841a2b6c372
parent[serversetup-bwlp-ipxe] Make first menu being added the default (diff)
downloadslx-admin-eb6114789940f7269820c80c2a541b4797d9dd9b.tar.gz
slx-admin-eb6114789940f7269820c80c2a541b4797d9dd9b.tar.xz
slx-admin-eb6114789940f7269820c80c2a541b4797d9dd9b.zip
[locationinfo] Fix slx-browser interactive logic
-rw-r--r--modules-available/locationinfo/inc/locationinfohooks.inc.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules-available/locationinfo/inc/locationinfohooks.inc.php b/modules-available/locationinfo/inc/locationinfohooks.inc.php
index d6559788..15c4dc19 100644
--- a/modules-available/locationinfo/inc/locationinfohooks.inc.php
+++ b/modules-available/locationinfo/inc/locationinfohooks.inc.php
@@ -51,9 +51,7 @@ class LocationInfoHooks
$browser = 'chromium chrome';
} else {
$browser = 'slxbrowser slx-browser';
- if (isset($data['split-login']) && $data['split-login']) {
- $data['interactive'] = 1;
- }
+ $data['interactive'] = (isset($data['split-login']) && $data['split-login']);
}
ConfigHolder::add('SLX_BROWSER', $browser, 1000);
}