From 80513e4332cffb32cf7e4fa727075b6837393700 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 15 Oct 2012 18:51:22 -0700 Subject: [PATCH] Trying this fix for endless redirection --- include/redir.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/include/redir.php b/include/redir.php index 2ca9969e27..42008ddd6b 100644 --- a/include/redir.php +++ b/include/redir.php @@ -2,12 +2,8 @@ function auto_redir(&$a, $contact_nick) { - // disabling temporarily - seeing a lot of recursive redirects, triggered in my case - // because one of my contacts has the same nickname as me so it's redirecting to his site - // (I'm trying to load my own profile page and he is remote so it shouldn't redirect anyway). - // Need some time to sort this out. - - return; + if((! $contact_nick) || ($contact_nick === $a->user['nickname'])) + return; if(local_user()) { -- 2.39.5