mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Setup: Fix sizes being displayed as bits instead of bytes
This commit is contained in:
@@ -982,7 +982,7 @@ class SetupUtils
|
||||
|
||||
public static function HumanReadableSize($fBytes)
|
||||
{
|
||||
$aSizes = array('bytes', 'Kb', 'Mb', 'Gb', 'Tb', 'Pb', 'Hb');
|
||||
$aSizes = array('bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'HB');
|
||||
$index = 0;
|
||||
while (($fBytes > 1000) && ($index < count($aSizes))) {
|
||||
$index++;
|
||||
|
||||
Reference in New Issue
Block a user