mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
@@ -597,9 +597,9 @@ function formatSizeUnits($bytes)
|
||||
} elseif ($bytes >= 1024) {
|
||||
$bytes = number_format($bytes / 1024, 2).' kB';
|
||||
} elseif ($bytes > 1) {
|
||||
$bytes = $bytes.' bytes';
|
||||
$bytes .= ' bytes';
|
||||
} elseif ($bytes == 1) {
|
||||
$bytes = $bytes.' byte';
|
||||
$bytes .= ' byte';
|
||||
} else {
|
||||
$bytes = '0 bytes';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user