Closed (cannot reproduce)
Project:
D7 Media
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2010 at 13:08 UTC
Updated:
16 Feb 2011 at 21:47 UTC
media.theme.inc has this line, but the module does not define a theme_media_type_icon() and it never uses the $icon variable later in this function either, so I think easiest is to just remove this line.
$icon = theme('media_type_icon', array('type' => $element['#object']->type));
| Comment | File | Size | Author |
|---|---|---|---|
| no-media-type-icon.patch | 948 bytes | gábor hojtsy |
Comments
Comment #1
gábor hojtsyFixing title.
Comment #2
JacobSingh commentedI believe we are using this for some types which don't generate thumbnails. Try uploading a pdf.
-J
Comment #3
gábor hojtsyWell, since I'm not seeing the $icon variable used anywhere else in the function and i'm not seeing the theme function defined either, it does not look like it is used for anything.
Comment #4
JacobSingh commentedThis has already been fixed somewhere.