From 868bdc9b6a1d39de35cd3594b62c5889d583740a Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 22 Nov 2012 03:19:05 -0800 Subject: [PATCH] php warning --- include/redir.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/redir.php b/include/redir.php index 3e8ddf2612..ab4f3220cd 100644 --- a/include/redir.php +++ b/include/redir.php @@ -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']))