diff --git a/src/Security/Authentication.php b/src/Security/Authentication.php index 8589ad4367..541f6e2927 100644 --- a/src/Security/Authentication.php +++ b/src/Security/Authentication.php @@ -453,7 +453,7 @@ class Authentication */ public function setUnauthenticatedVisitor(string $url) { - if (Strings::compareLink($this->session->get('visitor_home', ''), $url)) { + if (Strings::compareLink($this->session->get('visitor_home') ?: '', $url)) { return; }