mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
little bugfix for the retrieval of images configured to load from vfs (vfs_imagedir)
This commit is contained in:
parent
587cf2f1f5
commit
5e7b1d3fd6
@ -861,7 +861,8 @@ class common
|
||||
{
|
||||
if (!egw_vfs::is_dir($vfs_imagedir.'/'.$entry))
|
||||
{
|
||||
if (list($type,$subtype) = explode('/',egw_vfs::mime_content_type($vfs_imagedir.'/'.$entry)) && $type == 'image')
|
||||
list($type,$subtype) = explode('/',egw_vfs::mime_content_type($vfs_imagedir.'/'.$entry));
|
||||
if ($type == 'image')
|
||||
{
|
||||
self::$found_files['vfs'][$entry] = $vfs_imagedir;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user