diff options
author | Simon Rettberg | 2024-11-13 11:55:39 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-11-13 11:55:39 +0100 |
commit | 83510ae2c9754f54c8b00ec7dbed54ce4ce20db3 (patch) | |
tree | 8f907d6f94b3b7d1d7c3a20311d929f32c3eb3aa | |
parent | [locationinfo] Fix style (diff) | |
download | slx-admin-83510ae2c9754f54c8b00ec7dbed54ce4ce20db3.tar.gz slx-admin-83510ae2c9754f54c8b00ec7dbed54ce4ce20db3.tar.xz slx-admin-83510ae2c9754f54c8b00ec7dbed54ce4ce20db3.zip |
[locationinfo] BRAINDEAD
-rw-r--r-- | modules-available/locationinfo/inc/locationinfohooks.inc.php | 4 |
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 |