From 389f08d216d574deb638ab9512e1ce8924e36ed7 Mon Sep 17 00:00:00 2001 From: Tijn Kuyper Date: Tue, 29 Oct 2019 15:23:27 +0100 Subject: [PATCH] Fixes #2601 - Download plugin round filesize --- e107_plugins/download/download_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/download/download_shortcodes.php b/e107_plugins/download/download_shortcodes.php index 624bfa044..cfb5e8db0 100644 --- a/e107_plugins/download/download_shortcodes.php +++ b/e107_plugins/download/download_shortcodes.php @@ -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()