X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Uplink%2FNumerics.class.php;h=943fc15ee365a6e6ba8192b1d8c0f87a7e3df426;hp=87cb6426f191b65bb67742ef8b96ebf434313ad5;hb=71975117e375053f6ec4814d3609617aa30ee66f;hpb=f3909e00ddeb4f248bbcde412910eaf5038f0ae7 diff --git a/Uplink/Numerics.class.php b/Uplink/Numerics.class.php index 87cb642..943fc15 100644 --- a/Uplink/Numerics.class.php +++ b/Uplink/Numerics.class.php @@ -58,6 +58,7 @@ class Numerics { $base = $base * self::$base64charsLength; } $posValue = floor($int / $base); + $int -= $posValue * $base; //get the char representing $posValue $posChar = self::$base64chars[$posValue]; $numeric .= $posChar;