1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Fixes #2601 - Download plugin round filesize

This commit is contained in:
Tijn Kuyper
2019-10-29 15:23:27 +01:00
parent f6037d7de6
commit 389f08d216

View File

@@ -749,7 +749,7 @@ class download_shortcodes extends e_shortcode
function sc_download_view_filesize()
{
return ($this->var['download_filesize']) ? eHelper::parseMemorySize($this->var['download_filesize']) : "";
return ($this->var['download_filesize']) ? eHelper::parseMemorySize($this->var['download_filesize'], 0) : "";
}
function sc_download_view_rating()