From bacf60df598d344387bc8454de9114648ed372b9 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Mon, 23 Sep 2013 17:38:52 +0200 Subject: [PATCH] Sephi doesn't like missing B's in KB :P Signed-off-by: Michael Kaufmann (d00p) --- lib/functions/phphelpers/function.size_readable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/phphelpers/function.size_readable.php b/lib/functions/phphelpers/function.size_readable.php index eafacd2d..5f6ad0b5 100644 --- a/lib/functions/phphelpers/function.size_readable.php +++ b/lib/functions/phphelpers/function.size_readable.php @@ -14,7 +14,7 @@ function size_readable($size, $max = null, $system = 'si', $retstring = '%01.2f %s') { // Pick units - $systems['si']['prefix'] = array('B', 'K', 'MB', 'GB', 'TB', 'PB'); + $systems['si']['prefix'] = array('B', 'KB', 'MB', 'GB', 'TB', 'PB'); $systems['si']['size'] = 1000; $systems['bi']['prefix'] = array('B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB'); $systems['bi']['size'] = 1024;