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:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user