mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Fix broken vfs size indicator
This commit is contained in:
parent
dda3b1f5d1
commit
28d8a73ace
@ -1118,13 +1118,13 @@ class Vfs extends Vfs\Base
|
||||
}
|
||||
if($size < 1024 * 1024)
|
||||
{
|
||||
return sprintf('%3.2Gk', (float)$size / 1024);
|
||||
return sprintf('%3.2fk', (float)$size / 1024);
|
||||
}
|
||||
if($size < 1024 * 1024 * 1024)
|
||||
{
|
||||
return sprintf('%3.4GM', (float)$size / (1024 * 1024));
|
||||
return sprintf('%3.4fM', (float)$size / (1024 * 1024));
|
||||
}
|
||||
return sprintf('%3.4GG', (float)$size / (1024 * 1024 * 1024));
|
||||
return sprintf('%3.4fG', (float)$size / (1024 * 1024 * 1024));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user