projects
/
PHP-P10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
small intToNum fix
[PHP-P10.git]
/
Uplink
/
Numerics.class.php
diff --git
a/Uplink/Numerics.class.php
b/Uplink/Numerics.class.php
index 87cb6426f191b65bb67742ef8b96ebf434313ad5..943fc15ee365a6e6ba8192b1d8c0f87a7e3df426 100644
(file)
--- 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;