php warning
This commit is contained in:
parent
c0a435aa18
commit
868bdc9b6a
|
@ -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']))
|
||||
|
|
Loading…
Reference in New Issue
Block a user