]> git.mxchange.org Git - friendica.git/blobdiff - include/redir.php
Bugfix for pull request #2147 (Fix for issue #2122)
[friendica.git] / include / redir.php
index 3e8ddf26120a63558785f48eb5f68192a0dbb47f..ab4f3220cd7d1a1ace36ece544828db9ab96d0a6 100644 (file)
@@ -4,7 +4,7 @@ function auto_redir(&$a, $contact_nick) {
 
        // prevent looping
 
-       if(intval($_REQUEST,'redir'))
+       if(x($_REQUEST,'redir') && intval($_REQUEST['redir']))
                return;
 
        if((! $contact_nick) || ($contact_nick === $a->user['nickname']))