Misc fixes from live

This commit is contained in:
Deon George
2015-09-29 11:54:45 +10:00
parent df74512105
commit 425ea9ff10
10 changed files with 80 additions and 35 deletions

View File

@@ -28,7 +28,7 @@ class SSL {
private static function _dec_to_hex($number) {
$hex = array();
if ($number == 0)
if ($number == 0 OR ! $number)
return '00';
while ($number > 0) {