php warning

This commit is contained in:
friendica 2012-11-22 03:19:05 -08:00
parent c0a435aa18
commit 868bdc9b6a

View 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']))