Commit 5f7d9ee3 authored by quicksketch's avatar quicksketch

#783846: Replacing + characters in class names.

parent 44e115e8
......@@ -21,7 +21,7 @@ function theme_filefield_icon($file) {
}
$mime = check_plain($file['filemime']);
$dashed_mime = strtr($mime, array('/' => '-'));
$dashed_mime = strtr($mime, array('/' => '-', '+' => '-'));
if ($icon_url = filefield_icon_url($file)) {
$icon = '<img class="field-icon-'. $dashed_mime .'" alt="'. $mime .' icon" src="'. $icon_url .'" />';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment