audit date fix

This commit is contained in:
SJ
2013-07-29 22:34:44 +02:00
parent bd0de9f6e9
commit 39a251df37
5 changed files with 9 additions and 6 deletions

View File

@ -90,7 +90,9 @@ class ModelHealthHealth extends Model {
if(isset($p[5]) && in_array($p[5], $partitions)) {
$shortinfo[] = array(
'partition' => $p[5],
'freespace' => $p[3],
'freespace' => nice_size(1000*$p[3]),
'total' => nice_size(1000*$p[1]),
'used' => nice_size(1000*$p[2]),
'utilization' => preg_replace("/\%/", "", $p[4])
);
}