]> git.mxchange.org Git - friendica.git/blobdiff - mod/redir.php
Replace x() by isset(), !empty() or defaults()
[friendica.git] / mod / redir.php
index 701b85953ca1e63683103ba54bc0810566d08fa3..9f579a9dc445f3657fb2a3b6e2b249713d2174f3 100644 (file)
@@ -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) {