From eb6114789940f7269820c80c2a541b4797d9dd9b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 17 Jan 2020 14:07:13 +0100 Subject: [locationinfo] Fix slx-browser interactive logic --- modules-available/locationinfo/inc/locationinfohooks.inc.php | 4 +--- 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3-55-g7522