projects
/
PHP-P10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3909e0
)
small intToNum fix
author
pk910
<philipp@zoelle1.de>
Thu, 28 Jul 2011 09:15:40 +0000
(11:15 +0200)
committer
pk910
<philipp@zoelle1.de>
Thu, 28 Jul 2011 09:15:40 +0000
(11:15 +0200)
Uplink/Numerics.class.php
patch
|
blob
|
history
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;