From d1aaf9700e1415d93d3e9a437c74524ca7927b70 Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 27 Nov 2019 11:40:57 -0700 Subject: [PATCH] Update switch.php: kB to KB in byte_convert function. --- resources/switch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/switch.php b/resources/switch.php index e1b980f368..2f65dc6fe9 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -89,7 +89,7 @@ function event_socket_request_cmd($cmd) { } function byte_convert($bytes, $precision = 2) { - static $units = array('B','kB','MB','GB','TB','PB','EB','ZB','YB'); + static $units = array('B','KB','MB','GB','TB','PB','EB','ZB','YB'); $step = 1024; $i = 0; while (($bytes / $step) > 0.9) {