[Jaws-commits] r13451 - trunk/jaws/html/include/Jaws/Session

afz at jaws-project.com afz at jaws-project.com
Tue Aug 14 18:47:19 UTC 2012


Author: afz
Date: 2012-08-14 18:47:19 +0000 (Tue, 14 Aug 2012)
New Revision: 13451

Modified:
   trunk/jaws/html/include/Jaws/Session/Cache.php
Log:
typo

Modified: trunk/jaws/html/include/Jaws/Session/Cache.php
===================================================================
--- trunk/jaws/html/include/Jaws/Session/Cache.php	2012-08-14 18:08:05 UTC (rev 13450)
+++ trunk/jaws/html/include/Jaws/Session/Cache.php	2012-08-14 18:47:19 UTC (rev 13451)
@@ -25,7 +25,7 @@
         // ip
         $ip = 0;
         if (preg_match('/\b(?:\d{1,3}\.){3}\d{1,3}\b/', $_SERVER['REMOTE_ADDR'])) {
-            $ip = ip2long($ip);
+            $ip = ip2long($_SERVER['REMOTE_ADDR']);
             $ip = ($ip < 0)? ($ip + 0xffffffff + 1) : $ip;
         }
         // referrer



More information about the Jaws-commits mailing list