diff --git a/apps/files/index.php b/apps/files/index.php index cdbedbba4771cad284a762699981c6e1b9016627..9d3eb410791f685ff0abdc48dca60d526bf28fe3 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();