forked from extern/egroupware
"icons matching only the first part of the mime type were not displayed"
This commit is contained in:
parent
9e3281799f
commit
dec9991bbf
@ -844,7 +844,7 @@ class egw_vfs extends vfs_stream_wrapper
|
||||
$mime_type = 'unknown';
|
||||
}
|
||||
$mime_full = strtolower(str_replace ('/','_',$mime_type));
|
||||
list($mime_part) = explode('_',$mime_type);
|
||||
list($mime_part) = explode('_',$mime_full);
|
||||
|
||||
if (!($img=$GLOBALS['egw']->common->image('filemanager',$icon='mime'.$size.'_'.$mime_full)) &&
|
||||
!($img=$GLOBALS['egw']->common->image('filemanager',$icon='mime'.$size.'_'.$mime_part)))
|
||||
|
Loading…
Reference in New Issue
Block a user