diff options
author | Mario <mario@mariovavti.com> | 2022-09-22 06:31:35 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-09-22 06:31:35 +0000 |
commit | 937d6cb1efef3250f68f2b943e3964473495acae (patch) | |
tree | 578834c1f838b65535c8176fa31237d22afeb42c /Zotlabs/Web | |
parent | 118a5edebc745fe2760f781c8bb9e9006bf6215f (diff) | |
download | volse-hubzilla-937d6cb1efef3250f68f2b943e3964473495acae.tar.gz volse-hubzilla-937d6cb1efef3250f68f2b943e3964473495acae.tar.bz2 volse-hubzilla-937d6cb1efef3250f68f2b943e3964473495acae.zip |
php8: fix warnings
Diffstat (limited to 'Zotlabs/Web')
-rw-r--r-- | Zotlabs/Web/WebServer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Web/WebServer.php b/Zotlabs/Web/WebServer.php index 70c6eb9b8..c1f43863a 100644 --- a/Zotlabs/Web/WebServer.php +++ b/Zotlabs/Web/WebServer.php @@ -58,7 +58,7 @@ class WebServer { if((x($_GET,'zid')) && (! \App::$install)) { \App::$query_string = strip_zids(\App::$query_string); if(! local_channel()) { - if ($_SESSION['my_address']!=$_GET['zid']) { + if (isset($_SESSION['my_address']) && $_SESSION['my_address'] != $_GET['zid']) { $_SESSION['my_address'] = $_GET['zid']; $_SESSION['authenticated'] = 0; } |