diff options
author | szaimen <szaimen@e.mail.de> | 2022-02-09 09:47:44 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-02-10 10:35:19 +0100 |
commit | f0424378f68ee222bc9914af6e391624d9f3c711 (patch) | |
tree | 1ea8c3910921b4142899d73c717187a0cb48429c /apps/files_sharing/lib/Controller/ShareController.php | |
parent | 16e9e242ed85d656347d8d0cd8dec5d55a4d8152 (diff) | |
download | nextcloud-server-f0424378f68ee222bc9914af6e391624d9f3c711.tar.gz nextcloud-server-f0424378f68ee222bc9914af6e391624d9f3c711.zip |
Revert "Add non-breaking space in the file size"
Signed-off-by: szaimen <szaimen@e.mail.de>
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 b4a332d7419..614dae7ffba 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'] = str_replace(' ', ' ', \OCP\Util::humanFileSize($shareNode->getSize())); + $shareTmpl['fileSize'] = \OCP\Util::humanFileSize($shareNode->getSize()); $shareTmpl['hideDownload'] = $share->getHideDownload(); $hideFileList = false; |