Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1423)
+++ branches/2.8.x/CHANGELOG	(revision 1424)
@@ -11,6 +11,8 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.2 -------------------------------------
+31 Jan-2011 Build 1424 Werner v.d.Decken(DarkViper)
+# typo fix and simplify used_octets calculation
 30 Jan-2011 Build 1423 Werner v.d.Decken(DarkViper)
 ! add FINGERPRINT_WITH_IP_OCTETS to table settings
 30 Jan-2011 Build 1422 Dietmar Woellbrink (Luisehahne)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1423)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1424)
@@ -52,6 +52,6 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2.RC5');
-if(!defined('REVISION')) define('REVISION', '1423');
+if(!defined('REVISION')) define('REVISION', '1424');
 
 ?>
Index: branches/2.8.x/wb/framework/SecureForm.php
===================================================================
--- branches/2.8.x/wb/framework/SecureForm.php	(revision 1423)
+++ branches/2.8.x/wb/framework/SecureForm.php	(revision 1424)
@@ -83,9 +83,7 @@
 		$clientIp = ( isset($_SERVER['REMOTE_ADDR'])  ? $_SERVER['REMOTE_ADDR'] : '' );
 		if(($clientIp != '') && ($usedOctets > 0)){
 			$ip = explode('.', $clientIp);
-			if($usedOctets > 0){
-				while(sizeof($ip) >= $usedOctets) { unset($ip[$usedOctets]); }
-			}
+			while(sizeof($ip) > $usedOctets) { array_pop($ip); }
 			$clientIp = implode('.', $ip);
 		}else {
 			$clientIp = 19;
