diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-01-17 16:52:57 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-01-17 16:52:57 +0100 |
commit | 130c9cad030ca777e23ef70b76822553ea1c6411 (patch) | |
tree | 8ee57d9b573adb8a964cafccf29fb9891ef5c2d0 /apps | |
parent | b7d3bf5f81d9b52c40363957dce87a3354f3985b (diff) | |
download | nextcloud-server-130c9cad030ca777e23ef70b76822553ea1c6411.tar.gz nextcloud-server-130c9cad030ca777e23ef70b76822553ea1c6411.zip |
relative storage info without decimals
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index cdbedbba477..9d3eb410791 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -111,5 +111,5 @@ $tmpl->assign('files', $files); $tmpl->assign('uploadMaxFilesize', $maxUploadFilesize); $tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize)); $tmpl->assign('allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true))); -$tmpl->assign('usedSpacePercent', $storageInfo['relative']); +$tmpl->assign('usedSpacePercent', (int)$storageInfo['relative']); $tmpl->printPage(); |