From 71975117e375053f6ec4814d3609617aa30ee66f Mon Sep 17 00:00:00 2001 From: pk910 Date: Thu, 28 Jul 2011 11:15:40 +0200 Subject: [PATCH] small intToNum fix --- Uplink/Numerics.class.php | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1