aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/Utils.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/Utils.php')
-rw-r--r--application/Utils.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/Utils.php b/application/Utils.php
index 4c2d6701..952378ab 100644
--- a/application/Utils.php
+++ b/application/Utils.php
@@ -382,8 +382,10 @@ function return_bytes($val)
382 switch ($last) { 382 switch ($last) {
383 case 'g': 383 case 'g':
384 $val *= 1024; 384 $val *= 1024;
385 // do no break in order 1024^2 for each unit
385 case 'm': 386 case 'm':
386 $val *= 1024; 387 $val *= 1024;
388 // do no break in order 1024^2 for each unit
387 case 'k': 389 case 'k':
388 $val *= 1024; 390 $val *= 1024;
389 } 391 }