diff options
author | Mario <mario@mariovavti.com> | 2022-09-26 08:31:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-09-26 08:31:57 +0000 |
commit | 03475bfb15637d61698e1b3350f7b98654637fc6 (patch) | |
tree | 36d3797703f2bd43c0c52f7574e92dac5a5976d8 /Zotlabs/Web/WebServer.php | |
parent | bb9411e7dc3c8c306146ac66289a0a55425f6a53 (diff) | |
download | volse-hubzilla-03475bfb15637d61698e1b3350f7b98654637fc6.tar.gz volse-hubzilla-03475bfb15637d61698e1b3350f7b98654637fc6.tar.bz2 volse-hubzilla-03475bfb15637d61698e1b3350f7b98654637fc6.zip |
Ãfix regression
Diffstat (limited to 'Zotlabs/Web/WebServer.php')
-rw-r--r-- | Zotlabs/Web/WebServer.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Web/WebServer.php b/Zotlabs/Web/WebServer.php index c1f43863a..9fa5a7797 100644 --- a/Zotlabs/Web/WebServer.php +++ b/Zotlabs/Web/WebServer.php @@ -58,12 +58,13 @@ class WebServer { if((x($_GET,'zid')) && (! \App::$install)) { \App::$query_string = strip_zids(\App::$query_string); if(! local_channel()) { - if (isset($_SESSION['my_address']) && $_SESSION['my_address'] != $_GET['zid']) { + if (!isset($_SESSION['my_address']) || $_SESSION['my_address'] != $_GET['zid']) { $_SESSION['my_address'] = $_GET['zid']; $_SESSION['authenticated'] = 0; } - if(! $_SESSION['authenticated']) + if(!$_SESSION['authenticated']) { zid_init(); + } } } |