summaryrefslogtreecommitdiffstats
path: root/modules-available
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available')
-rw-r--r--modules-available/locationinfo/inc/locationinfohooks.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules-available/locationinfo/inc/locationinfohooks.inc.php b/modules-available/locationinfo/inc/locationinfohooks.inc.php
index 406d03c1..175afbd2 100644
--- a/modules-available/locationinfo/inc/locationinfohooks.inc.php
+++ b/modules-available/locationinfo/inc/locationinfohooks.inc.php
@@ -59,7 +59,9 @@ class LocationInfoHooks
// an interactive browser (full UI). I guess because some users might not
// know how to exit the browser otherwise? Past me was stupid enough not to leave
// a comment here or in the commit message....
- $data['interactive'] = (isset($data['split-login']) && $data['split-login']);
+ if ($data['split-login'] ?? false) {
+ $data['interactive'] = true;
+ }
}
// Check if we should enable insecure SSL mode (accept invalid/self-signed certs etc.),
// if we should display the full UI, and whether we force HW acceleration for video playback