X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fredir.php;h=9f579a9dc445f3657fb2a3b6e2b249713d2174f3;hb=458981f75cff2427976c9abc787eadf8e9e6267f;hp=701b85953ca1e63683103ba54bc0810566d08fa3;hpb=ea4e772b1e776876c40e30c67f30e6c35cf7d3aa;p=friendica.git diff --git a/mod/redir.php b/mod/redir.php index 701b85953c..9f579a9dc4 100644 --- a/mod/redir.php +++ b/mod/redir.php @@ -67,7 +67,7 @@ function redir_init(App $a) { // for authentification everytime he/she is visiting a profile page of the local // contact. if ($host == $remotehost - && x($_SESSION, 'remote') + && !empty($_SESSION['remote']) && is_array($_SESSION['remote'])) { foreach ($_SESSION['remote'] as $v) {