diff options
author | Simon Rettberg | 2020-01-17 14:07:13 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-01-17 14:07:13 +0100 |
commit | eb6114789940f7269820c80c2a541b4797d9dd9b (patch) | |
tree | 557358715ecc8966e2060865a3d86841a2b6c372 /modules-available | |
parent | [serversetup-bwlp-ipxe] Make first menu being added the default (diff) | |
download | slx-admin-eb6114789940f7269820c80c2a541b4797d9dd9b.tar.gz slx-admin-eb6114789940f7269820c80c2a541b4797d9dd9b.tar.xz slx-admin-eb6114789940f7269820c80c2a541b4797d9dd9b.zip |
[locationinfo] Fix slx-browser interactive logic
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/locationinfo/inc/locationinfohooks.inc.php | 4 |
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); } |