summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/common.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php
index 144f8e48c..ec27d8a85 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;
}