]> git.mxchange.org Git - friendica.git/commitdiff
php warning
authorfriendica <info@friendica.com>
Thu, 22 Nov 2012 11:19:05 +0000 (03:19 -0800)
committerfriendica <info@friendica.com>
Thu, 22 Nov 2012 11:19:05 +0000 (03:19 -0800)
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']))