From edde7848b81aae961520eab4ab19163caaef94fe Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 24 Jan 2015 16:44:27 +0000 Subject: [PATCH] add mp3 to thumbless filetypes, see #454 --- core/basethemelet.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/basethemelet.class.php b/core/basethemelet.class.php index 6f189552..f9ad10f2 100644 --- a/core/basethemelet.class.php +++ b/core/basethemelet.class.php @@ -56,7 +56,7 @@ class BaseThemelet { $h_tip = html_escape($image->get_tooltip()); $h_tags = strtolower($image->get_tag_list()); - $extArr = array_flip(array('swf', 'svg')); //List of thumbless filetypes + $extArr = array_flip(array('swf', 'svg', 'mp3')); //List of thumbless filetypes if(!isset($extArr[$image->ext])){ $tsize = get_thumbnail_size($image->width, $image->height); }else{