diff --git a/inc/common.php b/inc/common.php index 144f8e48cf113abe5313fbdc7f7ecd674b738777..ec27d8a85f64d0d63f2883424209a1e8f70879ee 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1324,6 +1324,9 @@ function php_to_byte($v){ case 'K': $ret *= 1024; break; + default; + $ret *= 10; + break; } return $ret; }