1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +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() 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() function sc_download_view_rating()