mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:02:54 +00:00
php warning
This commit is contained in:
parent
c0a435aa18
commit
868bdc9b6a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue