summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-17 16:52:57 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-17 16:52:57 +0100
commit130c9cad030ca777e23ef70b76822553ea1c6411 (patch)
tree8ee57d9b573adb8a964cafccf29fb9891ef5c2d0 /apps
parentb7d3bf5f81d9b52c40363957dce87a3354f3985b (diff)
downloadnextcloud-server-130c9cad030ca777e23ef70b76822553ea1c6411.tar.gz
nextcloud-server-130c9cad030ca777e23ef70b76822553ea1c6411.zip
relative storage info without decimals
Diffstat (limited to 'apps')
-rw-r--r--apps/files/index.php2
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();