X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fremoveip_functions.php;h=84cf2ce3ae04d2b9a90e62d7bb77767636725e5f;hb=ae3dec50dc9e51c8cc08939017763839493f7064;hp=31c312e361a599129f4177c9f9aaa65793db607b;hpb=f97a999e0737c0007ae9c3c26dfef49f75a175ac;p=mailer.git diff --git a/inc/libs/removeip_functions.php b/inc/libs/removeip_functions.php index 31c312e361..84cf2ce3ae 100644 --- a/inc/libs/removeip_functions.php +++ b/inc/libs/removeip_functions.php @@ -54,7 +54,7 @@ function GET_ANONYMOUS_REMOTE_ADDR ($remoteAddr) { break; case "RANDOM": // Pseudo-random IP number - $remoteAddr = mt_rand(1,254).".".mt_rand(0,254).".".mt_rand(0,254).".".mt_rand(1,254); + $remoteAddr = mt_rand(1,254).'.'.mt_rand(0,254).'.'.mt_rand(0,254).'.'.mt_rand(1,254); break; } // END - switch } // END - if @@ -78,7 +78,7 @@ function GET_ANONYMOUS_USER_AGENT ($userAgent) { // Is config enabled? if (getConfig('removeip_anon_ua') == 'Y') { // Set anon user agent - $userAgent = "-"; + $userAgent = '-'; } // END - if // Return it @@ -89,7 +89,7 @@ function GET_ANONYMOUS_REFERER ($referer) { // Is config enabled? if (getConfig('removeip_anon_ref') == 'Y') { // Set anon user agent - $referer = "-"; + $referer = '-'; } // END - if // Return it