mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 21:49:28 +01:00
"vfs-mime: fixed empty filename always showed directory logo, now empty filename shows an empty cell"
This commit is contained in:
parent
b969464f1e
commit
1ca2d5c02a
@ -157,6 +157,11 @@ class vfs_widget
|
||||
break;
|
||||
|
||||
case 'vfs-mime':
|
||||
if (!$value)
|
||||
{
|
||||
$cell = etemplate::empty_cell();
|
||||
return true;
|
||||
}
|
||||
if (!is_array($value))
|
||||
{
|
||||
if ($value[0] == '/' || count(explode('/',$value)) != 2)
|
||||
|
Loading…
Reference in New Issue
Block a user