diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-01-13 19:29:21 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-01-14 09:19:15 +0100 |
commit | 46c0ceb59c0d42d575fb36e7e982452e946505be (patch) | |
tree | 55ffe005cd1cabc06e5d6ab1b21aa98890847de4 /apps/files_sharing/lib/Controller/ShareController.php | |
parent | 2e55ce089954bdab483cb1564a4b00b79b705346 (diff) | |
download | nextcloud-server-46c0ceb59c0d42d575fb36e7e982452e946505be.tar.gz nextcloud-server-46c0ceb59c0d42d575fb36e7e982452e946505be.zip |
Add non-breaking space in the file size
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_sharing/lib/Controller/ShareController.php')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareController.php b/apps/files_sharing/lib/Controller/ShareController.php index 614dae7ffba..b4a332d7419 100644 --- a/apps/files_sharing/lib/Controller/ShareController.php +++ b/apps/files_sharing/lib/Controller/ShareController.php @@ -385,7 +385,7 @@ class ShareController extends AuthPublicShareController { $shareTmpl['protected'] = $share->getPassword() !== null ? 'true' : 'false'; $shareTmpl['dir'] = ''; $shareTmpl['nonHumanFileSize'] = $shareNode->getSize(); - $shareTmpl['fileSize'] = \OCP\Util::humanFileSize($shareNode->getSize()); + $shareTmpl['fileSize'] = str_replace(' ', ' ', \OCP\Util::humanFileSize($shareNode->getSize())); $shareTmpl['hideDownload'] = $share->getHideDownload(); $hideFileList = false; |