changeset 221 | e5302cb1945c |
parent 214 | a6ed8b6cdbe1 |
child 227 | 0eca1498a77b |
--- a/includes/functions.php Mon Oct 29 23:54:48 2007 -0400 +++ b/includes/functions.php Fri Nov 02 20:37:26 2007 -0400 @@ -432,7 +432,9 @@ $str = '0x'; foreach($nums as $n) { - $str .= (string)dechex($n); + $byte = (string)dechex($n); + if ( strlen($byte) < 2 ) + $byte = '0' . $byte; } return $str; }