diff --git a/e107_plugins/download/download_shortcodes.php b/e107_plugins/download/download_shortcodes.php index 4eabb60a0..24bd83de5 100644 --- a/e107_plugins/download/download_shortcodes.php +++ b/e107_plugins/download/download_shortcodes.php @@ -392,7 +392,11 @@ class download_shortcodes extends e_shortcode } - + function sc_download_filename($parm=null) + { + return basename($this->var['download_url']); + + } function sc_download_list_icon($parm='') //XXX FIXME $img. {