From: friendica Date: Thu, 22 Nov 2012 11:19:05 +0000 (-0800) Subject: php warning X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=868bdc9b6a1d39de35cd3594b62c5889d583740a;p=friendica.git php warning --- 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']))