X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=ed558e5feb44bfa1da8f429d95610f6f42abf8e7;hb=8ad6b65aebfc67c9552e8d361bc464207db2e23b;hp=f65867feb6c9cf876e7b1930949b54130552c9da;hpb=a5550b470223f084c355e1acea173c913c63675d;p=friendica.git diff --git a/index.php b/index.php index f65867feb6..ed558e5feb 100644 --- a/index.php +++ b/index.php @@ -128,7 +128,7 @@ if ((x($_GET,'zrl')) && $a->mode == App::MODE_NORMAL) { // Valid profile links contain a path with "/profile/" and no query parameters if ((parse_url($_GET['zrl'], PHP_URL_QUERY) == "") && strstr(parse_url($_GET['zrl'], PHP_URL_PATH), "/profile/")) { - if ($_SESSION["visitor_home"] != $_GET["zrl"]) { + if (defaults($_SESSION, "visitor_home", "") != $_GET["zrl"]) { $_SESSION['my_url'] = $_GET['zrl']; $_SESSION['authenticated'] = 0; }