aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web/WebServer.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-09-22 06:31:35 +0000
committerMario <mario@mariovavti.com>2022-09-22 06:31:35 +0000
commit937d6cb1efef3250f68f2b943e3964473495acae (patch)
tree578834c1f838b65535c8176fa31237d22afeb42c /Zotlabs/Web/WebServer.php
parent118a5edebc745fe2760f781c8bb9e9006bf6215f (diff)
downloadvolse-hubzilla-937d6cb1efef3250f68f2b943e3964473495acae.tar.gz
volse-hubzilla-937d6cb1efef3250f68f2b943e3964473495acae.tar.bz2
volse-hubzilla-937d6cb1efef3250f68f2b943e3964473495acae.zip
php8: fix warnings
Diffstat (limited to 'Zotlabs/Web/WebServer.php')
-rw-r--r--Zotlabs/Web/WebServer.php2
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;
}